![]() |
need help with edit text file in unix
hi one of my arrow trader cronjob stoped from running , i want to reinstall the scrip , but first i have to make sure that the cron for this site was deleted from the crontab in putty.exe i connect via ssh to my server , i type crontab -l to see the cron tab , then i see those 2 line i need to delete
and i now need to type crontab -e here come the question : technicly how do i delete those line? mark it and press delete? :) maybe i just need to add ## before ? thanks |
the (#) will disable the cron entry, but if you want to remove the entry while in the editor..
i believe the actual command is dependent on the editor your using; i use vi, so just a dd (kaboom). |
how do i find wich editor im using? after im typing crontab -e it show all the crontab and then this line
/tmp/crontab.UGmfVkYwEI: unmodified: line 1 |
I write all my crontabs in a pure ascii editor, save them as crontab.txt, uplod them via ftp then type crontab crontab.txt and it overwrites the old cron with the new one, its pretty dummy proof this way and I have a copy of my crontabs for all of my different servers saved on my desktop
If you dont have homesite or something like it, free pure ascii editors can found pretty easy on google |
All times are GMT -7. The time now is 10:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123