I'm pretty sure I have this cron job set up properly under the Scheduled Cron Jobs section of WebMin
user: domainUser (picked from the webmin drop down with all system users listed
Job: /home/domain/public_html/data/cron_bridge.php
I have it set to run every five minutes which I did by cmd clicking minutes: 0, 5, 10, 15, 20,25,30,35,40,45,50,55 then setting: all days all months all years all weekdays
see http://www.himalayanacademy.com/outgoing/cronJob.jpg
it is set to active and I enabled it. But it does not seem to fire, at least that's what the webmaster of this site is telling me.
1) What log do I check to see if it is firing or not?
2) do PHP scripts in the public_html folder need another param to fire? I see some jobs written like this:
PHP /home/domain/public_html/data/cron_bridge.php
but I would not think this necessary
I don't think you can execute PHP scripts just like that in a Linux shell. They are not natively executable and don't contain a "shebang", so the shell wouldn't know how to execute them.
Try adding
php
in front of the filename (it's case sensitive!).Yeah, a lower case "php" in front of the script you're executing should help. Make sure that, whatever script you're planning to run -- that it runs correctly from the command line if you run it manually.
Once that much works -- you can then take a look in /var/log/messages (on CentOS) or /var/log/syslog (on Debian/Ubuntu) to view the status of your cron jobs. It'll show up there if it's being executed.
-Eric