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

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/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: