[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving cron job from daily to weekly



02.12.2011 12:54, Tomasz Muras пишет:
> Hello,
> 
> If a package installs cronjob in (say) /etc/cron.daily but administrator
> wants to move that into "weekly" job - would it be OK for him to simply
> move the configuration file from /etc/cron.daily to /etc/cron.weekly? Or
> do you think it may cause the problems for the package upgrade - and if
> so, what would be correct way to change the frequency of running
> packaged tool?
> Should I give any special considerations as a packager to handle this
> kind of situation?
> 
> cheers,
> Tomek
> 
> 

Maybe do not ship script in /etc/cron.*/
but keep it as example somewhere.

And on fresh install copy in into /etc/cron.daily/,
but on upgrade do nothing.


Reply to: