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

Re: logwatch at midnight?



Sharon Kimble wrote: 
> 
> How can I configure logwatch to only fire off at midnight, instead of
> its current 0738, please?

If I recall correctly, logwatch is run via cron.daily, which
means anacron does it as part of its own routine.

anacron is fired off via /etc/crontab.

You have two choices:

1. edit the whole daily anacron job in /etc/crontab, which will
affect lots of jobs

or

2. move the logwatch job out of /etc/cron.daily to /etc/cron.d, then
reformat it to be a proper cron job (give it a specific time to
run in crontab format)

-dsr-


Reply to: