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
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
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
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
> 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
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
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
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?
--
8 matches
Mail list logo