0

I am new on Ubuntu and I want to ask you is the right way to reboot Ubuntu server (14.04.5 LTS) on 2:30 AM of every 15 days (two times of month)?

30 2 15/* * * path/to/shutdown --reboot
Thomas
  • 6,143
  • 12
  • 30
  • 36
skysat
  • 1
  • 3

1 Answers1

0

From this question

The following also works fine, it executes your command on the 15th and the 30th at 02:00 AM of every month:

0 2 */15 * * <yourCommand>

Back to your question

0 2 */15 * * shutdown -r now

Also see this question to learn more about cron

Lynob
  • 6,615
  • 16
  • 76
  • 108