I don't know with crontab, i would recommand systemd timer instead:
Will create a timer and a service for loading your playlist Soul at 19H today. You also can replace the mpc commands by a script if u want do more stuff.
To watch ur timers:
To disable the timer:
To reset the timers who failed:
Code:
sudo systemd-run --unit=Playlist_Soul --on-calendar='2021-02-03 19:00' --timer-property=AccuracySec=500ms sh -c 'mpc clear; mpc load Soul; mpc play'
Will create a timer and a service for loading your playlist Soul at 19H today. You also can replace the mpc commands by a script if u want do more stuff.
To watch ur timers:
Code:
systemctl list-timers
To disable the timer:
Code:
sudo systemctl stop Playlist_Soul.timer
To reset the timers who failed:
Code:
sudo systemctl reset-failed