Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By tzewin
#779732
Dear all,


May I know how's to execute Cron.php? I using the Windows Task Scheduler to schedule the cron.php but it work failed ( refer as attachment below). May I know how to do it?

Thanks
TzeWin
Attachments
cron.png
cron.png (22 KiB) Viewed 2677 times
User avatar
By liliana
#779741
Hi tzewin,

The correct configuration is:

Start/Program - Inlcude the path where your php.exe file is eg,
Code: Select all
"C:\Users\CarAudit\AppData\Roaming\ProcessMaker-2_5_1-1\php\php.exe"
Add Arguments- Include the path where your cron.php is, this is necessary since this is the file that needs to be executed. don't forget to use -f command. eg
Code: Select all
-f C:\Users\CarAudit\AppData\Roaming\ProcessMaker-2_5_1-1\processmaker\workflow\engine\bin\cron.php
The rest of the configuration will depend on the frequency the cron will be executed.

Let me know if it helps.

Regards,
By tzewin
#779743
liliana wrote:Hi tzewin,

The correct configuration is:

Start/Program - Inlcude the path where your php.exe file is eg,
Code: Select all
"C:\Users\CarAudit\AppData\Roaming\ProcessMaker-2_5_1-1\php\php.exe"
Add Arguments- Include the path where your cron.php is, this is necessary since this is the file that needs to be executed. don't forget to use -f command. eg
Code: Select all
-f C:\Users\CarAudit\AppData\Roaming\ProcessMaker-2_5_1-1\processmaker\workflow\engine\bin\cron.php
The rest of the configuration will depend on the frequency the cron will be executed.

Let me know if it helps.

Regards,

Hi Liliana,

Thanks, It solve


TzeWin

Use the latest verified Temu coupon $100 off ([acq[…]

To get $100 off, sign up as a new user using refer[…]

To get $100 off, sign up as a new user using refer[…]

To get $100 off, sign up as a new user using refer[…]