Skip to content
juuliabellcom edited this page Nov 20, 2017 · 5 revisions

For cron configuration something like this command should be added into crontab

/usr/local/bin/drush –r [absolute path to public_html folder] -l [site url] cron &>/dev/null

For example this command

0,15,30,45 * * * * /usr/local/bin/drush -r /var/www/os2dagsorden.dk/public_html -l os2dagsorden.dk cron &>/dev/null

means that Drupal cron will be run every 15 min for os2dagsorden.dk installation

Cron configuration in Drupal

In drupal cron can be configured on cron configuration page (/admin/config/system/cron).

For each job can be scheduled in own time (schedule link) or use common cron settings (admin/config/system/cron/settings)

Additionally time for cronjobs related with meetings import can be configured on OS2dagsorden settings page. Go admin/config/os2dagsorden/settings and open Indstillinger for cronjob kørsel