I followed Jordan`s guide here:

https://help.ubuntu.com/community/UbuntuLTSP/AutomatedTCStartup

to get this:

root@sam:/var/log# grep wol /etc/crontab
30 6    * * 1-5 root    /etc/ltsp/wol-hall
45 7    * * 1-5 root    /etc/ltsp/wol-lib
0 13    * * 6-7 root    /etc/ltsp/wol-lib
0  6    * * *   root    /etc/ltsp/wol-notley

but my wol cron jobs are failing:

root@sam:/var/log# grep -i -A1 wol syslog
Mar 29 06:30:01 sam CRON[25094]: (root) CMD (   /etc/ltsp/wol-hall)
Mar 29 06:30:01 sam CRON[25095]: (root) CMD (root    /etc/ltsp/wol-hall)
Mar 29 06:30:01 sam CRON[25092]: (CRON) error (grandchild #25095
failed with exit status 127)
--
Mar 29 07:45:01 sam CRON[25196]: (root) CMD (root    /etc/ltsp/wol-lib)
Mar 29 07:45:01 sam CRON[25197]: (root) CMD (   /etc/ltsp/wol-lib)
Mar 29 07:45:01 sam CRON[25194]: (CRON) error (grandchild #25196
failed with exit status 127)

Some googling suggests this is a file access problem, however The
/etc/ltsp/wol* scripts have world execute permissions, and the mac.txt
files have world read permissions. I can run the scripts from sh and
they execute fine. Any idea why they are failing from cron?

db

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to