Archive for the ‘Linux’ Category

Run a cron job more than every minute

The standard cron syntax lets you specify the minute(s) at which a task runs, but you cannot specify an interval less than once a minute (using * * * * * *). You can run a cron job more than by a minute by creating a simple shell script that repeatedly runs the task, with […]

Cron Job Configuration Guide

Cron Jobs basic setup via Cpanel. Some time you need to run a peace of code on specific time interval. Cron Jobs module is used for this work. This can be done by adding the following line via Cpanel/Cron Jobs: /usr/local/bin/php /home/your-site-root-dir/public_html/cron-file.php Wget Method * * * * *   wget -q -O – ‘http://www.mydomain.com/cron.php’ […]

Copyright © Sunware Technologies - Your web partner