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 01-18-2007, 01:46 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
cronjob problem... any help?

i've setuped a cronjob to scan my server automatically with clamav and write the results in a file
the cronjob is executed under root user

the problem is:
when i login to webmin and run the job from webmin with "Run Now" button everything works fine and i get the results writed in the results file, but when the job is executed automatically executed at a selected time the result file is empty

anybody know where can be the problem?
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2007, 03:18 AM   #2
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
posting the exact command you are putting in crontab may be useful in debugging this issue....
__________________
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 01-18-2007, 03:56 AM   #3
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
/bin/sh clamscan /home/file.zip > /home/file_scanresult.txt
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2007, 06:41 AM   #4
jerzeemedia
Confirmed User
 
Industry Role:
Join Date: May 2004
Location: New Jersey
Posts: 1,532
Try using the full path to "clamscan" and perhaps twisting it like this:

/bin/sh /path/to/clamscan /home/file.zip 2>&1 > /home/file_scanresult.txt

Let me know if that helps.

Regards,

JM
__________________
Free Adult Blog Hosting
http://www.waqn.com

free porn
www.mojohost.com - Best guys, best host.
jerzeemedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2007, 06:43 AM   #5
FuqALot
Confirmed User
 
Join Date: Dec 2001
Location: Malibu
Posts: 3,817
path issue.
FuqALot 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.