sharing small pieces of rocks or jewels I find on the way

Archive for April, 2009

Cronjobs in new cpanel

The new cpanel has made cronjobs very easy … you can pick time when the job will run, all you have to do is write the command to do the job. Now, that is little confusing, and when you search the web you are going to find a lot of things, more confusing. So, here I’m writing the most simple one

wget http://www.example.com/mailstock.php

It will just execute the php file and mail you the output of that php file.

I love sitepoint.com for their so clear articles, checkout for details about this in their article http://www.sitepoint.com/article/introducing-cron/