Re: A Rather Basic Cron Question

2018-08-23 Thread Martin McCormick
Thanks to both Greg Wooledge and Reco. Reco writes: > Hi. > > On Thu, Aug 23, 2018 at 01:29:30PM -0500, Martin McCormick wrote: > > */5 5-12,13-23 * * * sh -c ". $HOME/.master.env; ./etc/do_mail" > ... > > In this case, no harm was done but shouldn't the cron > > runs have stoppe

Re: A Rather Basic Cron Question

2018-08-23 Thread Reco
Hi. On Thu, Aug 23, 2018 at 01:29:30PM -0500, Martin McCormick wrote: > */5 5-12,13-23 * * * sh -c ". $HOME/.master.env; ./etc/do_mail" ... > In this case, no harm was done but shouldn't the cron > runs have stopped at 12:00 and then resumed at 13:00? No, it should not. It's a class

Re: A Rather Basic Cron Question

2018-08-23 Thread Greg Wooledge
On Thu, Aug 23, 2018 at 01:29:30PM -0500, Martin McCormick wrote: > */5 5-23 * * * sh -c ". $HOME/.master.env; ./etc/do_mail" Note, the sh -c is redundant. The line is already passed to sh. You could just do: */5 5-23 * * * . ~/.master.env; ./etc/do_mail > > I modified it to read > > */5 5

A Rather Basic Cron Question

2018-08-23 Thread Martin McCormick
I use fetchmail every 5 minutes between 05:00 and 23:00 each day and I thought it might be good to suspend the fetches between 12:00 and 13:00 since I run a half-day backup during that time. The line currently reads */5 5-23 * * * sh -c ". $HOME/.master.env; ./etc/do_mail" I modi

Re: user cron question

1997-10-07 Thread csmall
> I have cron installed and it works fine. However, I need to run a backup > script as a user since I mount a novell network acount with the same > username and save my data. So I tried to set up a cron job as a user. > I created a file called allow in /var/spool/cron which contained > only my us

user cron question

1997-10-07 Thread G. Kapetanios
Hi, I have cron installed and it works fine. However, I need to run a backup script as a user since I mount a novell network acount with the same username and save my data. So I tried to set up a cron job as a user. I created a file called allow in /var/spool/cron which contained only my userna

Re: cron question.

1997-10-06 Thread Remco Blaakmeer
On Mon, 6 Oct 1997, R Chris Ross wrote: > > I wondered if anyone knows weather cron responds correctly to a > SIGHUP or not? I did the following and managed to kill it all > together. > > kill -HUP `ps -aux|grep [c]ron|awk '{print $2}'` > > Is there a different signal to send it or is

cron question.

1997-10-06 Thread R Chris Ross
I wondered if anyone knows weather cron responds correctly to a SIGHUP or not? I did the following and managed to kill it all together. kill -HUP `ps -aux|grep [c]ron|awk '{print $2}'` Is there a different signal to send it or is it a daemon that has to be killed then restarted? --