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

Re: Switching Crontab Files Via At



Martin McCormick <martin@dc.cis.okstate.edu> writes:

[...]

> 	I want to properly duplicate what the crontab -e
> application does and not introduce some problem that bites later.

You can install a crontab file by running:

    crontab [filename]

This will do exactly what crontab -e does, only without the visual
editor.

You can save the old crontab with "crontab -l", then switch between
them with "crontab [filename]" whenever you need to, presumably
including from an at script.

Good luck!

---Scott.



Reply to: