public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] irritating cron habit
@ 2011-02-20 14:04 Philip Webb
  2011-02-20 15:27 ` Florian Philipp
  0 siblings, 1 reply; 6+ messages in thread
From: Philip Webb @ 2011-02-20 14:04 UTC (permalink / raw
  To: Gentoo User

I fetch my mail using a user cron job, as recommended for security.
I also start my Internet connection by hand after logging in:
this is to avoid the jam which arises if it is included in the runlevel
but for some reason the physical Net connection isn't functioning,
when Dhcpcd sits there & can't be killed via Control-C.
Usually, this works very well, but occasionally the cron job runs
before the Dhcpcd command has made the necessary connection
-- it depends on when the start-of-minute falls -- ,
which results in a file  ~/dead.letter , which has to be deleted
(the sequence of commands is clear from the Syslog file).

Is there a way to fix this ? -- I could perhaps write a 2-line script
which would run 'dhcpcd eth0 ; /etc/init.d/vixie-cron',
while removing Vixie-cron from the Default runlevel.

Does anyone have useful suggestions ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-21 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-20 14:04 [gentoo-user] irritating cron habit Philip Webb
2011-02-20 15:27 ` Florian Philipp
2011-02-20 18:18   ` Philip Webb
2011-02-21  5:39     ` [gentoo-user] irritating cron habit : solved Philip Webb
2011-02-21 10:23       ` YoYo Siska
2011-02-21 11:32         ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox