Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
13194 Lượt xem

Hi,

I would like to test some scheduled actions created by me? is it possible to force the action to run instantly instead of waiting for it to run automatically?

Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Vivek,

There are two options:

  1. You may create one wizard which will call the method which you have defined in your scheduler.
  2. You can reset the scheduler time.

Thanks,

Serpent Consulting Services

Ảnh đại diện
Huỷ bỏ
Tác giả

Hi, I used the second option and I completed my test. But first option is new for me. both will do the job without any problem i think. I will upvote your answer.

Yes vivek both options will work without any problem but first option requires development while in second option you just need to change the time only.

Câu trả lời hay nhất

You can use the module cron_run_manually [0] in the server-env [1] project

[0] http://bazaar.launchpad.net/~server-env-tools-core-editors/server-env-tools/7.0/files/head:/cron_run_manually/
[1] https://code.launchpad.net/server-env-tools

Ảnh đại diện
Huỷ bỏ

Now moved to https://github.com/OCA/server-tools

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
2032
1
thg 12 21
14179
4
thg 10 23
12713
4
thg 6 23
7646
3
thg 12 16
8609