I just implemented this but had a slightly different experience.
- To install crontab I used
sudo apt-get install -y cron
- Changed the cronjob to
00 07 * * * /volumio/app/plugins/system_controller/volumio_command_line_client/commands/playback.js reboot
example:
___
/_ \ __
__ __ //\ \ __ __ ___ ___ /_\ ___
/\ /\ \ / __\\ \ \ /\ \/\ \ /' __
__\/\ \ / __
\
\ \ _/ |/\ \L\ \\ _\ \ _\ /\ /\ /\ \ \ /\ \L\
\ _/ \ _//_\ _/\ _\ _\ _\ _\ _/
// // // // /////////___/
Free Audiophile Linux Music Player - Version 2.0
C 2015 Michelangelo Guarise - Volumio Team - Volumio.org
Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
volumio@volumio:~$ sudo apt-get install -y cron
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed
============
volumio@volumio:~$ crontab -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use ‘*’ in these fields (for ‘any’).#
# Notice that tasks will be started based on the cron’s system
# daemon’s notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
#
# * * * * * CMD
# 1 2 3 4 5 6
# | | | | | |
# | | | | | ± Command to run
# | | | | ±— Day of the Week (range: 0-6, 1 standing for Monday)
# | | | ±----- Month of the Year (range: 1-12)
# | | ±------- Day of the Month (range: 1-31)
# | ±--------- Hour (range: 0-23)
# ±----------- Minute (range: 0-59)
#
# The below command was entered on 3/26/2021 to perform nighly reboots
#
00 07 * * * /volumio/app/plugins/system_controller/volumio_command_line_client/commands/playback.js reboot
volumio@volumio:~$