-Edward-
03-17-2002, 09:12 AM
How do you delete an exisiting cron job?
- Ed
- Ed
![]() | View Full Version : Cron Jobs -Edward- 03-17-2002, 09:12 AM How do you delete an exisiting cron job? - Ed php4life 03-17-2002, 10:02 AM I always wondered what a cron job was. Is it just like a repeating cycle for a program? Pingu 03-17-2002, 11:00 AM crontab -e That wil open up an editor (vi by default, unless you've changed the default editor to be pico) with all the cron jobs. Just delete the line with the job you want out and save and exit. A cronjob is a scheduled task your server will execute at the designated time. Omair Haroon 03-17-2002, 04:02 PM Any idea how to change the default editor from VI to pico for crontab? Salam, -Omair technoart 03-17-2002, 05:11 PM export EDITOR=pico D8Mike 03-17-2002, 06:24 PM Im getting the following cron error! Can anybody tell me cause and fix for it? Subject: Cron <root@www> run-parts /etc/cron.weekly All headers > > Read file error: ./expn.1 No such file or directory Thanks in advance ffeingol 03-17-2002, 07:57 PM Originally posted by Dimension8 Im getting the following cron error! Can anybody tell me cause and fix for it? Subject: Cron <root@www> run-parts /etc/cron.weekly All headers > > Read file error: ./expn.1 No such file or directory Thanks in advance Yep, One of the scripts in /etc/cron.weekly has "expn.1" in it. That can't be found or read. To find the script try: cd /etc/cron.weekly egrep -l expn.1 * The egrep should return the name of the file(s) that have that string in it. Frank Pingu 03-17-2002, 08:10 PM I have had that line (and more) in my cron.weekly log for decades. Never found out what is was, but I'm sure it has something to with "makewhatis", but I haven't got a clue what that is or does. And no, the egrep thing doesn't work D8Mike 03-18-2002, 10:23 AM Nope didnt bring anything up for me either. :( |