Scheduling tasks in Unix

Ikechi Michael
1 min readFeb 12, 2019

--

For scheduling tasks in unix systems, we have the cron tool … We can schedule a task by running

crontab -e

and adding text in the format:

1 2 3 4 5 /full/path/to/script

Where

  1. represents Minutes (0–59)
  2. Hours (0–23)
  3. Days (1–31)
  4. Month (1–12)
  5. Day-of-the-week (1–7)

To run a script at 6:00pm, you’d use:

0 18 * * * /full/path/to/script

Enjoy!

Scheduling

--

--

Ikechi Michael
Ikechi Michael

Written by Ikechi Michael

I’ve learned I don’t know anything. I've also learned that people will pay for what I know. Maybe that's why they never pay.

No responses yet