[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing cron from a shell script
On Wed, 13 March 2002, kevin lyda wrote
> On Wed, Mar 13, 2002 at 02:39:46PM -0800, Jason Stout wrote:
> > How can you edit a crontab entry from within a shell script?
> > want to delete an entry.
> crontab -l > $tmpfile
> grep -v line $tmpfile > $tmpfile.new
> crontab $tmpfile.new
> email@example.com buffy: come on, can't you put your foot down?!
> fork()'ed on 37058400 giles: it *is* down.
> meatspace place: orbit buffy: one of these days you're going to have to
> http://suberic.net/~kevin get a grown up car. --inca mummy girl