|
Last modified: 06 Oct 2006
WARNING: It is not recommended that you customize
cron jobs by yourself. Any alterations made to them are at your own risk!
Sometimes you may need to apply custom filters and wrappers to H-Sphere crontab,
for example, to prevent sending some system notifications. However, when you add or delete a system package,
crontab is being rewritten, and all modificatation are being lost.
For example, you have modified the cron-rotate.pl call in crontab like this:
0 2 * * * nice -15 /hsphere/shared/scripts/cron/cron_rotate.pl 2>&1 |
egrep -vf /hsphere/local/config/cron/hs_cron_rotate.filter
To prevent it from removing, save the copy of modified crontab as /hsphere/local/config/cron/crontab.custom:
# mkdir -p -m 0700 /hsphere/local/config/cron && crontab -l >>
/hsphere/local/config/cron/crontab.custom
Then, after each update H-Sphere will restore your custom crontab settings.
|