smbjorklund / cellproject

Consortium on Electronic Literature (CELL) Drupal installation
http://cellproject.net
0 stars 0 forks source link

Start tasks (cron ) from a crontab and stop using poor mans cron #4

Closed steinmb closed 3 years ago

steinmb commented 5 years ago

Site should not use http://cellproject.net/admin/config/system/cron - We call it a poor mans cron and should only be used on hosting system that do not allow us to set up a proper crontab to trigger it.

End user that trigger it will be left hanging when the cron job is running. Triggering from cronttab have no such problems.

To test

Make sure cron is still running after the cronttab is configured and http://cellproject.net/admin/config/system/cron set to Never.

steinmb commented 4 years ago

Needs to be reviewed after production.

commit 5e93b64586f7e93e9d61c85a3e1e188699957529 (HEAD -> master, origin/master) Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Mon Sep 21 21:22:21 2020 +0200

Issue 4 Disable cron job
steinmb commented 3 years ago

Configured in prod. Added to Kubernetes elmcip-cron-ns903 - runners. Run each 30-th minute.