ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: cron on 7250?

To:
Subject: Re: [ts-7000] Re: cron on 7250?
From: Jim Jackson <>
Date: Thu, 2 Feb 2012 11:08:45 +0000 (GMT)


On Wed, 1 Feb 2012, Mike Dodd wrote:

> Jim Jackson wrote:
> > 
> > 
> > On Tue, 31 Jan 2012, Mike Dodd wrote:
> > 
> >> Jim Jackson wrote:
> >>> As far as I know, the build of busybox in the standard TSLinux image
> >>> did not include cron - so be default it is not available.
> 
> Yes, I found Dillon crond in /usr/sbin, but how do I get it to work?
> 
> Looking at the C source code, it appears that it looks in 
> /var/spool/cron/crontabs, but if I put a crontab file there, crond says 
> "ignorming crontab" at startup. If I move the crontab up one level to 
> /var/spool/cron, crond starts without the "ignoring" message, but 
> doesn't execute the commands in crontab at the specified times. I have 
> simple commands, like echo 'Hello' and date.

There should be a program called "crontab"

  crontab -e

edits your crontab entries, it uses vi by default or whatever your 
EDITOR environment variable is set to. 



> 
> I also created a cron.hourly directory in /var/spool/cron/crontabs, and 
> put a simple shell script there. But the script is not executed on the hour.
> 
> So a regular crontab doesn't work, and a script in cron.hourly doesn't run.
> 
> Anyone know what Dillon crond is looking for, and where?
> 
> Thanks to all.
> 
> -- 
> Mike
> 
> Mike Dodd
> Louisa County, VA USA
> 
> http://mdodd.com
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU