How Can I Set Up A Cron Job From Ubuntu

I want to schedule a task to run on a regular basis. How can I add cron jobs from Ubuntu?

run following command

crontab -e

It will open your personal crontab (cron configuration file) and In every line you can define one command to run.

The format should be like following

minute hour day-of-month month day-of-week command

e.g

*/15 * * * * /pathto/command (every 15 minutes)

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments