public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Philip Webb <purslow@ca.inter.net>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] irritating cron habit
Date: Sun, 20 Feb 2011 09:04:07 -0500	[thread overview]
Message-ID: <20110220140407.GC3758@ca.inter.net> (raw)

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




             reply	other threads:[~2011-02-20 14:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 14:04 Philip Webb [this message]
2011-02-20 15:27 ` [gentoo-user] irritating cron habit 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110220140407.GC3758@ca.inter.net \
    --to=purslow@ca.inter.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox