use cron to automate on ubuntu

linux

Summary

Use crontab

  1. Edit entries with crontab -e
  2. Add below lines to crontab file ```

Every minute write hello world to greetings.txt file.

Cron job syntax

Why is the cron jobs not running

Important

if you edit cron job with vim, please quit vim to load the cron jobs.

Reference