Re: [SLUG] Where is cron ?

From: Matt Miller (matt@sandmcomputers.com)
Date: Wed Mar 03 2004 - 10:56:21 EST


Bob Stia said:
>> If you want to adjust the master crontab it is /etc/crontab. If you
>> wish to adjust your personal crontab, just type:
>>
>> crontab -e
>
> Ummm...Thanks Logan & Kwan, but, I don't have a /etc/crontab, and
> crontab -e produces a medium size list of zerors down the left column.

The crontab -e command is probably not working because you have not editor
set.

If you are using bash, do the following:
$ export EDITOR=vi #or emacs
$ crontab -e #this should now work

$ echo "export EDITOR=vi" >> ~/.bash_profile
OR if your .bashrc is being sourced
$ echo "export EDITOR=vi" >> ~/.bashrc

Matt

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:59:30 EDT