Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 255 Bytes

linux_crontab_cmd.md

File metadata and controls

28 lines (14 loc) · 255 Bytes

schedule by linux cmd crontab

  • list crontab
# crontab -l
  • add a daily scheduler
# crontab -e

Then add line as below

0 2 * * * /bin/sh backup.sh

This means backup db every 02:00am daily