Dear folks,

I am having a difficult time getting cron to run a script.  I ran
$ crontab -e

Added the commands
# min hr mon dom dow command
30 16 * * * ~/.dalarm >/dev/null 2>&1

Where ~/.dalarm has a command to call mplayer and play some music files.
#!/bin/sh

/usr/local/bin/mplayer -really-quiet -shuffle -playlist ~/.playlist

I have setup a crontab for root user and it is working there, but not as
regular user.  I have checked and there is no /var/cron/deny for my user. I
have read that I need to specify $PATH in crontab file as well in
documentation.  Any ideas as to how to fix this?

Best Regards,


Antonio

Reply via email to