help-cfengine
[Top][All Lists]
Advanced

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

Re: restart cron in Solaris


From: Katherine Morris
Subject: Re: restart cron in Solaris
Date: Fri, 7 Dec 2001 18:37:50 -0500

I'm using shell command, crontab takes a file as an argument.

crontab /var/spool/cron/crontabs/root

----- Original Message -----
From: "Alan Silver" <address@hidden>
To: "Daniel Nilsson" <address@hidden>
Cc: <address@hidden>
Sent: Friday, December 07, 2001 1:17 PM
Subject: Re: restart cron in Solaris


> Daniel:
>
> I don't believe that cron accepts any signals. You will need to kill and
> restart the cron in order for your example to work. But, it might be
> easier to just use crontab -e rather than  editing a tmp file. That way,
> you won't have to worry about stopping and restarting cron. YOu should
> be able to do your example using crontab -e.
>
> alan
>
> Daniel Nilsson wrote:
> >
> > Does sending HUP to cron really reread crontabs in Solaris?
> >
> > Ive tried:
> >
> > "cron"     signal=hup inform=false
> >
> > But it doesnt work...
> >
> > How are you editing crontabs? (crontab -l > /tmp/aaa;vi /tmp/aaa;crontab
> > /tmp/aaa) ???
> >
> > /// Daniel
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/help-cfengine
>
> --
> Alan Silver
> UNIX Systems Administrator
> Harvard Business School
>
> 617-495-5801
> address@hidden
>
> "The two prime movers of the Universe are Time and Luck"
>    -- Kurt Vonnegut
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]