Re: system has started e-mailing me, cron demon
David selby wrote:
Hello mate,
Ive been quiet for a couple of days, trying things & looking for the
results next morning, found out a few things .. think I have cracked it.
/etc/cron.d/anacron & /etc/anacrontab are not duplicate .... I found
this by accident.
/etc/cron.d/anacron is the system crontab
/etc/anacrontab is the users crontab !
Once I moved my times around, I have
/etc/anacrontab, the user crontab, at 1:05am calling mozilla mail
(without a & at the end !), So till I kill it I assume it is keeping
crontab running.
/etc/cron.d/anacron, the system crontab, at 1:30am calling an auto
backup script, last 5-10 mins
I get mail at 1:30am, QED !
I have made mozilla mail run with a &, ie background ... will see what
happens tonight
Dave
Not sure if anyone is still looking at this thread, above plan failed !
/etc/cron.d/anacron start, produces ...
web@debian:~$ /etc/init.d/anacron start
Starting anac(h)ronistic cron: anacron.
web@debian:~$
which is my system e-mail, so my guess is when I changed MAILTO=web I
just started getting it.
Now changing /etc/cron.d/anacron to ...
# /etc/anacron: crontab entries for the anacron package
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=web
30 1 * * * root test -x /etc/init.d/anacron && /etc/init.d/anacron start
>/dev/n
ull
Will see how it goes ...
Reply to: