atd: how to start a job every 10 minutes ?

2008-08-15 Thread Harald Koenig
Hi,

I'd like to trigger at jobs every ~10 minutes (so that RTC resumes from suspend)
but somehow atd (Om 2008.8) behaves strange

any hints how to deal with atd and trigger jobs ?


thanks,

Harald
-- 
I hope to die  ___   _
before I *have* to use Microsoft Word.,   0--,|/OOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
Harald Koenig   //  / \\  \
[EMAIL PROTECTED] ^   ^

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: atd: how to start a job every 10 minutes ?

2008-08-15 Thread Roland Mas
Harald Koenig, 2008-08-15 12:04:44 +0200 :

 Hi,

 I'd like to trigger at jobs every ~10 minutes (so that RTC resumes
 from suspend) but somehow atd (Om 2008.8) behaves strange

 any hints how to deal with atd and trigger jobs ?

You may want ot look at cron instead of at.  at is for one-time jobs,
cron is for recurring jobs.

Roland.
-- 
Roland Mas

... all in all it's just another rule in the firewall.
  -- Ping Flood

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: atd: how to start a job every 10 minutes ?

2008-08-15 Thread Harald Koenig
On Aug 15, Roland Mas wrote:

 You may want ot look at cron instead of at.  at is for one-time jobs,
 cron is for recurring jobs.

will cron work while FR being suspended ?

haven't checked yet, but so far I've read this only from atd,
and atd exclusively opens /dev/rtc (see hwclock problems...)

bute maybe there is a OM cron version which interfaces with atd ?!
I'll check, thanks for the pointer...


Harald
-- 
I hope to die  ___   _
before I *have* to use Microsoft Word.,   0--,|/OOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
Harald Koenig   //  / \\  \
[EMAIL PROTECTED] ^   ^

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: atd: how to start a job every 10 minutes ?

2008-08-15 Thread Chris Wright
2008/8/15 Harald Koenig [EMAIL PROTECTED]:
 On Aug 15, Roland Mas wrote:

 You may want ot look at cron instead of at.  at is for one-time jobs,
 cron is for recurring jobs.

 will cron work while FR being suspended ?

 haven't checked yet, but so far I've read this only from atd,
 and atd exclusively opens /dev/rtc (see hwclock problems...)

 bute maybe there is a OM cron version which interfaces with atd ?!
 I'll check, thanks for the pointer...

If not, then you can write a script that executes whatever you want
and then adds itself to atd.

--
Those who do not understand recursion are doomed.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community