Having a bit of trouble getting cron jobs to run in this though. I'm sure I am just over looking something.
Inside /var/spool/cron/crontabs I have two files.
update.sc
and root
The contents of update.sc
Code: Select all
#!/bin/sh
echo 'updating...'
mpc update > /dev/null
while [ -n "$(mpc | grep Updating)" ] ; do sleep 5 ; done
echo 'adding...'
mpc clear
mpc add / > /dev/null
mpc random 1
mpc play
Code: Select all
09 12 * * * /var/spool/cron/crontabs/startup
Output of crontab -l
Code: Select all
09 12 * * * /var/spool/cron/crontabs/startup
Code: Select all
root 5333 1 0 12:06 ? 00:00:00 crond
root 5410 5193 0 12:15 pts/0 00:00:00 grep cron