Re: cron vs anacron

2000-12-17 Thread will trillich
On Wed, Dec 13, 2000 at 10:51:27PM -0200, Henrique M Holschuh wrote:
 On Wed, 13 Dec 2000, Erik Steffl wrote:
and you are not supposed to turn off the computer! ever! :-))
 Err... but how am I supposed to remove the lint inside the fans then? :P

best bet is to get hardware that doesn't need a fan.

by that, i mean, not something made by intel.

-- 
There are only two places in the world where time takes
precedence over the job to be done.  School and prison. 
--William Glasser 

[EMAIL PROTECTED]***http://www.dontUthink.com/

volunteer to document your experience for next week's
newbies -- http://www.eGroups.com/messages/newbieDoc



Re: cron vs anacron

2000-12-14 Thread Marcelo Chiapparini
Thanks a lot to all people who taught me about cron vs anacron!


On Wed, 13 Dec 2000 16:19:22 -0800, Erik Steffl wrote:

  and you are not supposed to turn off the computer! ever! :-))
   
   erik

Well, I was asking about my pc at home. From  monday to friday I can only
spend two or three hours per day with it, why keep it turned on the other
21hs? :)

Cheers,

Marcelo
_
Marcelo Chiapparini
[EMAIL PROTECTED]





Re: cron vs anacron

2000-12-14 Thread Erik Steffl
Marcelo Chiapparini wrote:
 
 Thanks a lot to all people who taught me about cron vs anacron!
 
 On Wed, 13 Dec 2000 16:19:22 -0800, Erik Steffl wrote:
 
   and you are not supposed to turn off the computer! ever! :-))
 
erik
 
 Well, I was asking about my pc at home. From  monday to friday I can only
 spend two or three hours per day with it, why keep it turned on the other
 21hs? :)

  run seti? to get good uptime? I was just kidding...

erik



RE: cron vs anacron

2000-12-13 Thread Sean 'Shaleh' Perry

On 13-Dec-2000 [EMAIL PROTECTED] wrote:
 Hi!
 
 Does cron work correctly in a system which is powered down periodically,
 like a pc at home? If it does, why does anacron exist?
 

cron runs jobs at certain times.  So, the cron.daily scripts are set to run at
2 in the morning.  If your machine is not running, that job never happens. 
When you power the box on, cron does not look and see what jobs it did not run.
 So, if you power a machine on once a week, for 4 hours from 2 pm to 6 pm, no
system cron job will ever run.  This is what anacron solves.  When the machine
powers on it checks for missed jobs and runs them.



Re: cron vs anacron

2000-12-13 Thread Erik Steffl
  if the system is down while something was scheduled to run, it will
not run.

  there is a version of cron (don't remember the name) that runs
everything that should have been run  but wasn't (because system was
down) right after the system starts, that might make anacron obsolete.

  and you are not supposed to turn off the computer! ever! :-))

erik

[EMAIL PROTECTED] wrote:
 
 Hi!
 
 Does cron work correctly in a system which is powered down periodically,
 like a pc at home? If it does, why does anacron exist?
 
 Thanks in advance!
 
 Marcelo
 --
 E-Mail: [EMAIL PROTECTED]
 Date: 13-Dec-2000
 Time: 21:35:40
 
 This message was sent by XFMail
 --
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: cron vs anacron

2000-12-13 Thread kmself
on Wed, Dec 13, 2000 at 09:38:37PM -0200, [EMAIL PROTECTED] ([EMAIL PROTECTED]) 
wrote:
 Hi!
 
 Does cron work correctly in a system which is powered down periodically,
 like a pc at home? 

No.  cron starts jobs at a specified time.

 If it does, why does anacron exist?

See above.  anacron checks to see what jobs were skipped during
downtime.

-- 
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
 Evangelist, Zelerate, Inc.  http://www.zelerate.org
  What part of Gestalt don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org


pgpC5Z7lbwtL0.pgp
Description: PGP signature


Re: cron vs anacron

2000-12-13 Thread brian moore
On Wed, Dec 13, 2000 at 09:38:37PM -0200, [EMAIL PROTECTED] wrote:
 Hi!
 
 Does cron work correctly in a system which is powered down periodically,
 like a pc at home? If it does, why does anacron exist?

It doesn't, which is why anacron exists.

By doesn't, the usual problem is that if you have cron jobs scheduled
for 6:30 am and your computer is always off from midnight to 7am, they
won't get executed.  With anacron, they won't get executed at 6:30 am
since the system is off... but they will get executed roughly once a
day.

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf Serial: %s Type: %s Code: %s\n, map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= C x length; } /\.([^.]+)/g; 



Re: cron vs anacron

2000-12-13 Thread Henrique M Holschuh
On Wed, 13 Dec 2000, Erik Steffl wrote:
   there is a version of cron (don't remember the name) that runs
 everything that should have been run  but wasn't (because system was
 down) right after the system starts, that might make anacron obsolete.

fcron, but it doesn't do ALL that Debian's cron do, at least not yet. 

As for making anacron obsolete, well, anacron is smaller and simpler. fcron
does more but eats more memory and cpu.  It's the usual choose the right
tool for the job.

   and you are not supposed to turn off the computer! ever! :-))

Err... but how am I supposed to remove the lint inside the fans then? :P

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


pgpQNcVPNCne3.pgp
Description: PGP signature