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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-10-2007, 09:41 AM   #1
redfrog
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? maybe i just need to add ## before ?

thanks
redfrog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2007, 09:46 AM   #2
Kaylum
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.."
Kaylum is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2007, 09:50 AM   #3
redfrog
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
redfrog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2007, 10:13 AM   #4
Nasty
Confirmed User
 
Nasty's Avatar
 
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
Nasty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.