Hot answers tagged

2 votes

Reboot via `crontab` does not work on Raspberry Pi 4

The correct syntax would be: 0 0 * * 0,3 /sbin/reboot in the crontab for root. As for what you are doing: sudo crontab -e → 0 0 * * WED,SUN reboot → ❌ no reboot You're editing the crontab for root ...
Ljm Dullaart's user avatar
  • 2,481
2 votes

Rotate display on startup

You could try to do this with systemd, which makes it easy to run a script at a specific moment during boot. In your case, you need to do it after the framebuffer initialization and before the first ...
Dmitry Grigoryev's user avatar
1 vote
Accepted

Reboot via `crontab` does not work on Raspberry Pi 4

I think you've got the syntax right on the first entry: sudo crontab -e → 0 0 * * WED,SUN reboot → ❌ no reboot I confirmed that with crontab guru, and in man 5 crontab. The thing you have missed is ...
Seamus's user avatar
  • 21.7k

Only top scored, non community-wiki answers of a minimum length are eligible