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 02-20-2006, 09:40 PM   #1
Shaze
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.....
Shaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-20-2006, 09:48 PM   #2
Harrison Richard
Confirmed User
 
Join Date: Oct 2005
Posts: 199
$ crontab -e
__________________
i sale executive summaries of threads
Harrison Richard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-20-2006, 09:49 PM   #3
Peacemaker
Confirmed User
 
Peacemaker's Avatar
 
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
Peacemaker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-20-2006, 10:23 PM   #4
Shaze
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...
Shaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-21-2006, 03:10 AM   #5
Shaze
Confirmed User
 
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
bump for me....still looking for an answer
Shaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 04:13 PM   #6
Shaze
Confirmed User
 
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
bump yet again...
Shaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 05:34 PM   #7
com
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]
com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 05:37 PM   #8
Sami
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.
__________________

ServerProvider.com


ICQ#: 311-848-143
Sami is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 05:41 PM   #9
High Plains Drifter
Confirmed User
 
High Plains Drifter's Avatar
 
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
__________________
High Plains Drifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 05:48 PM   #10
Sexkitty
Registered User
 
Join Date: Jul 2005
Location: Internet
Posts: 81
check the crontab logs on /var/log , that will give u an idea of what user is calling crontab.
then crontab -e
__________________
PIMP PIMP PIMP
Sexkitty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 06:05 PM   #11
woj
<&(©¿©)&>
 
woj's Avatar
 
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
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2006, 08:35 PM   #12
Shaze
Confirmed User
 
Join Date: Oct 2003
Location: Cyberspace
Posts: 2,662
Quote:
Originally Posted by com
delete the lines with dd
then hit the escape key, and type verbatim:
:wq!

that was tried already....
Shaze 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.