scripthearder for cosmos

This commit is contained in:
Leif Johansson 2017-11-13 09:55:17 +01:00
parent dfe82991f4
commit ed5ae245c4

View file

@ -1,4 +1,4 @@
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/15 * * * * root test -f /etc/no-automatic-cosmos || /usr/local/bin/run-cosmos
*/15 * * * * root test -f /etc/no-automatic-cosmos || scriptherder --mode wrap --syslog --name cosmos -- /usr/local/bin/run-cosmos