[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Skript starting Fetchnews once per Day



Hello Cornelius, hello List,

From: Cornelius Krasel <krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>


> Frank Wagner wrote:
>
> > I'm looking for a solution to run fetchnews only if 24h has been
past
> > since the last run.
> > I don't like to set up a cron job, because my computer isn't up at
the
> > same time every day.
>
> You should use anacron instead of cron. In that case, fetchnews will
> be started either after 24 h or (if this time has already passed) if
> your computer is rebooted. anacron is part of most Linux
distributions.
>
Thanks first, but I want to start fetchnews only if there is a
connection to
the internet anyhow. So I'm looking for a solution to start a skript
while
processing ip-up that starts fetchnews conditionally if it didn't fetch
in the past 24 hours.

Greetings

Frank

========================================
Frank Wagner
Registered Linux User: 146442

Email privat: f.wagner@xxxxxxx
Email Labor: f.wagner@xxxxxxxxx
========================================




-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list