How Set up Cron Job

02nd, January 2018 By

Cron is the time-based job scheduler in computer operating systems. cron enables users to schedule jobs (commands ) to run periodically at certain times or dates.For eample you want to update data once in day or some special time.

From the cPanel setup cron job following these steps:-

1. Login to your cpanel.

2.Then goes to your cron job manager tab in cpanel.

Cron Job 1

3.In cron job manager you will see the add new cron job ,click of add new cron job.You will see the option of time setting means after time interval script run or how much time after script run again.For example you will run cron job after every 5 minutes or after 5 days.

Cron Job 2

4.In command setting put the path of your file like

/ramdisk/bin/php5 -c /home/USERNAME/PathTo/php.ini /home/USERNAME/public_html/PathToFile on add cron job.Its done.

Video For setting Cron Job:-

Leave a Reply

Your email address will not be published. Required fields are marked *