Results 1 to 4 of 4
Thread: Deleting Cronjob
Hybrid View
-
04-24-2005, 12:18 AM #1Junior Guru
- Join Date
- Aug 2004
- Posts
- 219
Deleting Cronjob
hey guys, I need to delete a cron via ssh.
for some reason I cannot edit the file via crontab -e and pico...
Is there a commandline to delete it? I need to create a new cronjob
-
04-24-2005, 05:27 AM #2Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
Code:crontab -u user -r
why cant you edit the crontab? whats the problem/error?
-
04-28-2005, 03:24 AM #3Newbie
- Join Date
- Apr 2005
- Location
- Russia/ Tomsk
- Posts
- 7
# save old crontab to file
crontab -l user > /root/crontab
# edit it
pico /root/crontab
# update current current cron jobs
crontab -u user /root/crontab
-
04-28-2005, 01:51 PM #4Web Hosting Master
- Join Date
- Nov 2004
- Location
- India
- Posts
- 1,104
If you have root access you can edit and remove the cron jobs for the user from :
/var/spool/cron/<user>AssistanZ - Beyond Boundaries...
Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development