[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restart cron in Solaris
From: |
Marion Hakanson |
Subject: |
Re: restart cron in Solaris |
Date: |
Thu, 13 Dec 2001 10:57:26 -0800 |
Darren Dunham wrote:
>
> 1) Put crontab in tempfile.
> 2) su $user "crontab tempfile"
> 3) rm tempfile
> . . .
> Another alternative is more brute-force.
> 1) Put the crontab(s) in place.
> 2) Kill and restart cron.
We have some old pre-cfengine code using "rdist" still lying around.
In that old code, we did this (no temp file needed):
1) Put the crontab in place, /var/spool/cron/crontabs/$user
2) su $user -c "crontab /var/spool/cron/crontabs/$user"
Regards,
--
Marion Hakanson <hakanson@cse.ogi.edu>
CSE Computing Facilities
- Re: restart cron in Solaris, (continued)
- Re: restart cron in Solaris, Dan Zubairi, 2001/12/10
- Re: restart cron in Solaris, Katherine Morris, 2001/12/10
- Re: restart cron in Solaris, Katherine Morris, 2001/12/10
- Re: restart cron in Solaris, Daniel Nilsson, 2001/12/11
- Re: restart cron in Solaris, Katherine Morris, 2001/12/12
- Re: restart cron in Solaris, Rich Dempsey, 2001/12/12
- Re: restart cron in Solaris, Darren Dunham, 2001/12/12
- Re: restart cron in Solaris, Rich Dempsey, 2001/12/12
- Re: restart cron in Solaris,
Marion Hakanson <=
- Re: restart cron in Solaris, Ted Zlatanov, 2001/12/14
Re: encrypt.c: In function `LoadSecretKeys':, Rune Mossige, 2001/12/07