Protip about cron

If you're trying to use cron to automate a task that's not CLI based (so pretty much anything on the desktop), you're going to need to alter your crontab. The following is an example of how your crontab should look, with the added information in bold:

# m h dom mon dow command
33 12 * * * export DISPLAY=:0 && /home/noah/.scripts/alarm


Information grabbed from this thread.

0 comments:

Post a Comment