You are not logged in.

#1 2010-11-22 10:17:21

tehyosh
Member
Registered: 2008-08-28
Posts: 6

fcron jobs executing only after restarting the daemon

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

#2 2010-11-22 10:32:06

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: fcron jobs executing only after restarting the daemon

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

#3 2010-11-22 15:10:26

tehyosh
Member
Registered: 2008-08-28
Posts: 6

Re: fcron jobs executing only after restarting the daemon

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

Board footer

Powered by FluxBB