On Thu, Mar 11, 2004 at 02:48:02PM +0100, Goran Christiansson wrote: > Dear Group, > > I cannot get the cron to work the way I expect it to. (on a Sarge machine) > (after having read the man pages, searched this list and googled) > > Maybe I misunderstood something... > > I put a shell script file in /etc/cron.hourly and I expected it to run once > an hour.
Sarge has a cron.hourly? I guess I need to get up-to-date on things :) > > the syslog tells me that cron does something: > > Mar 11 15:17:01 sigurd /USR/SBIN/CRON[23344]: (root) CMD ( > run-parts --report > /etc/cron.hourly) > > However, the shellscript is not run. Does the script have executable permissions? > The shellscript works fine when I type the name on the prompt. > See below, the shellscript text. Which one? The one in cron.hourly or movephotos.sh (that cron.hourly one calls)? > > Any hints would be appreciated! > > Thanks, > Goran > > ----shellscript in /etc/conf.hourly------------------- > #!/bin/bash > # > # Move Photos > > cd ~goran > bash movephotos.sh > -- Chris Harris <[EMAIL PROTECTED]> ------------------------------------------- GNU/Linux --- The best things in life are free. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]