I have a CentOS server to test my all projects. According to clients requirement webmin is installed as admin panel. Today I had tried to use a cron PHP script in that server and succeeded. This is how I have setup the cron job.
In the webmin panel ther is a menu group named ‘Cluster’;
So from that menu group -> Cluster Cron Job.
Then I have added a new cron job.
1. Selected user ‘apache’.
2. in the command box:
/usr/bin/php -q /full/path/to/the/cronjob.php
3. Then selected the time which I want the cron job should be done.
Wow… It’s working. Please feel free to ask if you need any further help regarding this.

I am a simple man living in this world working in IT field. I love Music, playing soccer, traveling new places. By profession I am a software engineer and enjoy my job. I love researching on new technologies such as programming languages.
I have set the cron in webmin using system-> scheduled cronjob-> add ‘wget -q -0 /dev/null/http://mysite.com/admin/cron.php’
I don’t see any output from this and my statistic doesnt work also. Need your advice.
The command has changed for latest version… as the path to php