EdWeb cron

While investigating the latest Drupal security update on web.inf, I noticed again that the cron jobs were behind schedule. I was under the apprehension that EdWeb used Drupal’s poor mans cron (or some version of it), apparently this is wrong.

So I’ve added a system cron to call the site’s cron.php with the necessary key. I’ve added the following to the live/edweb-school.h
#ifdef EDWEB_SITE_CRONKEY
!cron.additions mADD(edwebcron)
cron.add_edwebcron * * * * * wget -O - -q -t 1 http://EDWEB_SITE_NAME/cron.php?cron_key=EDWEB_SITE_CRONKEY
#endif

According to https://www.drupal.org/node/2195391 it should be run every minute, so that’s what I’ve setup. In the machine’s profile I define the CRONKEY and it’s all working fine. Slightly concerned about how much noise it might produce if the wget start producing output. We’ll see.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.