On Mon, Feb 21, 2011 at 12:39:43AM -0500, Philip Webb wrote:
110220 Philip Webb wrote:
110220 Florian Philipp wrote:
Just change your cron job to look like
'test -e /var/run/dhcpcd.pid fetchmail'
That's by far the simplest it still fetches the mail,
so we'll see if it also avoids the
btw, if I need to check if the network is up in a script, I usually do
ping -q -c1 -w4 some.remote.host /dev/null 21
command-to-run-if-remote-host-reachable
It the advantage that it checks directly connection to the host
you wish to connect to, so it also won't run the command if your
110220 Philip Webb wrote:
110220 Florian Philipp wrote:
Just change your cron job to look like
'test -e /var/run/dhcpcd.pid fetchmail'
That's by far the simplest it still fetches the mail,
so we'll see if it also avoids the occasional internal spam msgs.
Indeed it does: I tried delaying
3 matches
Mail list logo