This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Cron user manual

From Group-Office Groupware and CRM Documentation
Revision as of 14:51, 13 March 2013 by Wsmits (Talk | contribs)

Jump to: navigation, search

Overview

Cron menu.png

The Cron (Manage system tasks) module is used to administer the tasks that the system needs to do at given times.

You can schedule tasks that need to run on the given times. There is one tasks already set by default in the module.

The Email Reminders task. This task checks if a user has reminders every 5 minutes.


Planned system tasks list

Cron tasks-grid.png

This is the list of all tasks that are planned 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.


Job dialog

Cron job-dialog-enabled.png

In the job dialog you can create new jobs and you can update existing ones.

Cron job-dialog-disabled.png


Troubleshooting

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:

/etc/cron.d/

In that folder you should find the file:

groupoffice-cron

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