ISPConfig cronjob not working why?
I have a problem to get a cronjob working within ISPConfig.
this is the code that I put in the cronjob :
But the cronjob isnt doing anything.
When I log into the server by putty (ssh) and typing that exactly command, it works fine.
Also tried to remove the sh from the line so that the code is:
it is not working.
I know that cronjobs are working in ISPConfig because I have another cronbjob in ISPConfig that is working fine. But that is an url cronjob.
http://www.mywebsite/cron.php <- working fine.
Client has full cron in the client options menu.
Can someone please explain to me why it isnt working in ISPConfig and why it is working fine by ssh?
The cron log file contains no of errors for this cronjob.
Thanks in advance!
ISPConfig 2 or 3?
ISPConfig version 3
Im sorry for posting this in the wrong forum
In Linux cronjobs, every command has to be called with its full path as cron does not read the $PATH variable that is sued on the shell. So instead of sh, you have to use
or if the file contains already #!/bin/sh in the first line, then use just:
|All times are GMT +2. The time now is 20:22.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.