You are not logged in.
I have the following in my crontab
*/5 * * * * xfdesktop --reload
My daemons list is
DAEMONS=(syslog-ng hal @cpufreq @slim @ssh !network netfs fcron @alsa @keytouch @wicd @boinc)
After I login fcron doesn't execute the desktop reload. If I restart the daemon everything works as expected.
In crond.log I have
Nov 22 12:10:00 localhost fcron[5426]: Job xfdesktop --reload started for user yoshi (pid 5427)
Nov 22 12:10:02 localhost fcron[5426]: Job xfdesktop --reload completed (mailing output)
Nov 22 12:10:02 localhost fcron[5426]: Can't find "no". Trying a execlp("sendmail"): No such file or directory
Nov 22 12:10:02 localhost fcron[5426]: Can't exec no: No such file or directory
I have sendmail = no in fcron's config.
Is there a way to make the cron jobs execute after logging in without restarting the daemon ?
Offline
Why use cron for that? There is autostart.
And why do you need to reload your desktop after login?
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
I don't need it after login. I want it to run every 5 minutes. xfdesktop --reload changes my wallpaper with a random one from a list.
The desktop reload from the crontab won't run until I manually restart fcron. It executes OK if I run it from the console or xfrun4.
Last edited by tehyosh (2010-11-22 15:11:54)
Offline