コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
13173 ビュー

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

アバター
破棄
最善の回答

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

アバター
破棄
著作者

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.

最善の回答

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

アバター
破棄

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

関連投稿 返信 ビュー 活動
1
3月 24
2022
1
12月 21
14175
4
10月 23
12691
4
6月 23
7638
3
12月 16
8601