|
|
|
||||
|
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 |
|
Confirmed User
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
|
Unix administrators/gurus..I need your help
I was using AWGTrade on one of my sites and switched over to another trade script. After deleting AWGtrade from my server the cron that is scheduled to update the toplist is still running but can't find the file because I deleted awgtrade. How do I stop the cron from running now for AWGTrade? I'm receiving emails every 10-20 minutes because the cron is erroring out:
/cgi-bin/toplist/tradeadmin/awgcron_2.sh: No such file or directory is in the email.... how can i see what crons are scheduled to run on my unix box and how do i remove the particular cron? thanks for the help..... |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Oct 2005
Posts: 199
|
$ crontab -e
__________________
i sale executive summaries of threads |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Feb 2002
Location: Mars
Posts: 897
|
crontab -e Edit your crontab file, or create one if it doesn't already exist.
crontab -l Display your crontab file. crontab -r Remove your crontab file. crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)
__________________
SEO since 2002 - Google Index Record: 32 minutes. - Selling SEO services and tools |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
|
When I do "crontab -e" the contents of the file appears and it says this in the file:
# DO NOT EDIT THIS FILE - edit the master and reinstall. rest of code has the crontab info..... I tried to delete the lines AWGtrade created by using the "dd" command and then "ZZ" to quit. The system then returns: "crontab.12615" 8L, 442C written crontab: no changes made to crontab When I check the file again the lines are still there...any more suggestions? Thanks in advance... |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
|
bump for me....still looking for an answer
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
|
bump yet again...
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Aug 2003
Location: Portland, Oregon
Posts: 4,541
|
delete the lines with dd
then hit the escape key, and type verbatim: :wq!
__________________
Real. Professional. Hosting. .:Expect Nothing Less:. 320-078-843 :: www.realprohosting.com :: [email protected] |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Mar 2004
Posts: 2,047
|
if you have root access
do cd /var/spool/cron cat eachoneoftheusernamesinthere see which user has the cron for your script setup. After you find it... crontab -u thatusername -e delete the lines save that should do the trick. |
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Jun 2005
Location: ♠ ♣ ♥
Posts: 2,341
|
depending on your version of vi, it won't save to readonly file with ZZ. Like the other dude said use
:wq! colon - enter command w - save file q - quit ! - force save if file is readonly
__________________
|
|
|
|
|
|
#11 |
|
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
just use :wq!
"crontab: no changes made to crontab" should have tipped you off, heh
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
|
|
|
|
|
#12 | |
|
Confirmed User
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
|
Quote:
that was tried already.... |
|
|
|
|