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

Re: crontab ?



On Mon, Jan 29, 2001 at 01:56:02PM +0000, Justin B Rye wrote:
> This is a strange way to want to set a crontab...

Actually, considering that it's how crontab expects to work if no flags are
given, I suspect that `crontab <filename>` is the most historically standard/
normal way to use it.

> "man crontab"
> seems to say it'll work, but the file might need to be executable or
> something.

No, it doesn't need to be anything special.

> Why do you want to do this anyway?  Isn't it simpler to edit the
> crontab directly with "crontab -e"?

Don't know if it's why the OP was doing it this way but potato's elvis
returns an exit status of 1 even if it exits cleanly.  crontab sees this,
assumes an error, and doesn't update anything.  So, if elvis is your default
editor, `crontab -e` doesn't work.  (This has been fixed in woody.)

-- 
SGI products are used to create the 'Bugs' that entertain us in theatres
and at home. - SGI job posting
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r y+



Reply to: