Change minute in crontab from * to 0, otherwise we run the cron every minute.
Remove advice against using sudo. sudo may be required to use the -u flag -- this is the case on my Fedora 25 machine. The use of -u $USER should edit the correct crontab, whether sudo is used or not.
Use argument -1 instead of true to cause bingwallpaper to quit after running -- in my testing, this seemed to be the right usage.
Changes
*
to0
, otherwise we run the cron every minute.sudo
.sudo
may be required to use the-u
flag -- this is the case on my Fedora 25 machine. The use of-u $USER
should edit the correct crontab, whethersudo
is used or not.-1
instead oftrue
to causebingwallpaper
to quit after running -- in my testing, this seemed to be the right usage.