In a Ubuntu-powered VPS, there was requirement to run a PHP script on every 15 minute. So, I fire up Google, search in ubuntu-related resources and setup it a cron job that run on every 15 minutes. This article is a ready-reference for me and, of course, for the rest of the world who runs into similar scenario.
Cron jobs are executed by www-data user.
I used Crontab and below is the command that I issue to start new cron job:
- Category: Ubuntu