The cron (Manage system tasks) module is used to administrate scheduled system tasks. Group-Office and modules can install system tasks that run in intervals. Examples of some preinstalled tasks:
If you want to change the time that these tasks run you can that with this module.
This is the list of all tasks that are scheduled for your Group-Office installation.
The red ones will not be executed because they are disabled.
The green ones will be executed on the "Next run" time.
In the job dialog you can create new jobs and you can update existing ones.
|Name||A unique name for the task you are creating/updating|
|Job||Here you can select the job that needs to be executed (These are PHP files that will be called)|
|Minutes||On which minutes of an hour needs the job be executed. Use "0-59" or "*" for every minute. You can also use "/5" for every 5 minutes.|
|Hours||On which hours of the day needs the job be executed. Use "0-23" or "*" for every hour. You can also use "/5" for every 5 hours.|
|Month days||On which month day needs the job be executed. Use "1-31" or "*" for every day. You can also use "/5" for every 5 days.|
|Months||On which month needs the job be executed. Use "1-12" or "*" for every month. You can also use "/5" for every 5 months.|
|Week days||On which day in the week needs the job be executed. Use "0-6" or "*" for every day.|
|Enabled||If this is checked then the job will be called on the given times.|
|Run only once||If you check this then the job will be called only once on the given time. After that the job will be automatically disabled.|
When you select a Job then it is possible that the users and groups tabs will be enabled. In that case then you can select users and groups for which the cron job will be executed. The cron job will then be executed for every user/group that you have selected for it. This option will not be available for every cron job.
If the cron module is installed and you have enabled some jobs for it and you found out that the jobs are not executed then you need to check if the server(system) cron deamon (Crontab) is calling the Group-Office cron controller every minute.
On ubuntu systems you can check that by going to the folder:
In that folder you should find the file:
If the file does not exist then you need to create it and add the following code into it:
* * * * * www-data php /usr/share/groupoffice/groupofficecli.php -r=core/cron/run -c=/etc/groupoffice/config.php > /dev/null