Rename petrified.crontab to extra/petrified.crontab
organizing extra files
This commit is contained in:
parent
a854ef5a7c
commit
d7d4d214b5
1 changed files with 0 additions and 0 deletions
19
extra/petrified.crontab
Normal file
19
extra/petrified.crontab
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue