![]() ![]() It may be useful to specify an alternative date and time when testing for past or future events or scheduled cases. +d" YYYY-MM-DD HH:MM:SS" Specify an alternative date and time for the script.īy default, the script will execute using the server's current system time.To save processing in the cron.php script, it may be useful to specify only certain workspaces or to specify that only certain types of activities (events, scheduled cases, notifications, etc.) be executed. For testing purposes, the +d option can be used to specify an alternative date and time for the script, so events and scheduled cases in the past or future can be executed. If the cron script is executing without any options, all pending activities will be automatically executed for all workspaces. Messageeventcron.php, timereventcron.php and ldapcron.php are files that are found in the same directory and are executed in the same way as the cron.php file. Xb1- X/apps/processmaker/htdocs/workflow/engine/bin/cron.php Xb1- X/php/bin/php -f /opt/processmaker-3. Manual installation: php -f /opt/processmaker/workflow/engine/bin/cron.phpīitnami installation in ProcessMaker 3.0.1.8 and later: /opt/processmaker-3. The location of the file depends on the system. Then, enter the command to execute the workflow/engine/bin/cron.php file. If using Windows, a terminal can be opened by going to Start > All Programs > Accessories > Command Prompt. To test a feature executed by a cron script, open a terminal on the server where ProcessMaker is installed. The ProcessMaker Windows Installer automatically installed PHP-CLI, but it may not have been installed if ProcessMaker was manually installed. The cron scripts can be executed from the command line on the server where ProcessMaker is installed, which means that PHP-CLI should be installed on the server running ProcessMaker. It is also recommended to set the server's clock to use same time zone in ![]() Or reboot the server for any changes in the php.ini file to take effect. Likewise, its php.ini file should contain the following line:ĭate.timezone = America/New_York Restart Apache Servers' php.ini file and in ProcessMaker's env.ini file.įor example, a ProcessMaker server located in New York should have theįollowing line in its workflow/engine/config/env.ini file: In order for the cron scripts to execute correctly, it is recommended that the same time zone be set in both the Note that it is not recommended to execute these scripts more than once every five minutes due to the heavy processing that they incur.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |