|   |   |   | ||||
| 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 | 
|  01-18-2007, 01:46 AM | #1 | 
| 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? | 
|   |           | 
|  01-18-2007, 03:18 AM | #2 | 
| <&(©¿©)&> 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 | 
|   |           | 
|  01-18-2007, 03:56 AM | #3 | 
| Confirmed User Join Date: Jun 2002 Location: france 
					Posts: 996
				 | /bin/sh clamscan /home/file.zip > /home/file_scanresult.txt | 
|   |           | 
|  01-18-2007, 06:41 AM | #4 | 
| 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. | 
|   |           | 
|  01-18-2007, 06:43 AM | #5 | 
| Confirmed User Join Date: Dec 2001 Location: Malibu 
					Posts: 3,817
				 | path issue. | 
|   |           |