![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: Aug 2004
Location: il
Posts: 78
|
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? ![]() thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: Costa Rica
Posts: 465
|
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).
__________________
-- "You can't stop ingenuity, trust me.." ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Aug 2004
Location: il
Posts: 78
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: Sunny Fucking California
Posts: 1,575
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |