Saturday, 25 May 2013

Run command in cron

Run command in cron

I'm trying to execute the command "redshift -l 33.8683:151.2086" at boot on my ubuntu system. The program works when run in a terminal so it may be sensitive to having the right runtime level. I've tried adding the command to a file in /usr/sbin and adding /usb/sbin/redshift1 to my /etc/rc.local, but it does not execute properly. The location of the actual script is in /usr/bin/ but I want to start the program with the arguments I mentioned. Ideas?

No comments:

Post a Comment