Rename petrified.crontab to extra/petrified.crontab

organizing extra files
This commit is contained in:
tengel 2014-11-22 11:04:10 -06:00
parent 67d86ec6ff
commit a72283cd3a

19
extra/petrified.crontab Normal file
View file

@ -0,0 +1,19 @@
## Various examples of how to run petrified via cron -- note that not all
## cron implementations support /etc/cron.d/ (i.e. fcron does not)
## run system level every 15 minutes
## /etc/cron.d/petrified
*/15 * * * * root /usr/bin/petrified
## run system level every hour
## /etc/cron.hourly/petrified
#!/bin/bash
/usr/bin/petrified
## run user level every 30 minutes using traditional cron
## crontab -e (-u <username>)
*/30 * * * * /usr/bin/petrified
## run user level every 30 minutes using fcron
## fcrontab -e (-u <username>)
%hourly,mail(no) 0 /usr/bin/petrified