Hello Dan

Dan Jacobson wrote:

mi> Maybe edit /etc/crontab with /5 option (every 5 month), invoking [(ppp) online ] && wwwoffle -F
My machine is unplugged and cold most of each day, probably including
the vital moment when month 5 arrives
The /5 option with other entries = '*' only checks for month No.5, no matter what day
But possibly you're offline for one month completely; could happen, true.
However, i see there's a difference between month no.5 but every 5 month. So
>>>$ cat /etc/anacrontab
>>>150 33 jidanni.nerd wwwoffle -F http://nerdclub.bla/login
will do better, granted.


Also the machine making a special call behind my back would make me think it had been infected
> by daemons
lol
In fact, it is (a unix ;-) and it's more a symbiosis isn't it ?

You could pop up an xmessage with a prompt, e.g. anacron starting a script like:
title="Ho Danni"; buttons="Warp daemon,Cancel"; Xmesaage="Refresh nerdclub now ?"
return=`xmessage -display :0 -center -print -buttons "$buttons" -title "$title" "$Xmessage"
[ $return = "Warp daemon" ] && wwwoffle -F http://nerdclub.bla/login


I thought only init(8) et al. invokes cron and anacron, but I may be
out of date.
No you're right. In addition, cron proceeds /etc/cron.d/anacron
and of course, you can call (ana)cron anytime yourself.

Anyway, my anacron solution can be used on your machine, but your
solution cannot be used on my machine.
Because occasionally it's a lot of stuff and usually i have to do something
important first when going online, I disabled automatic fetching somewhere
(config ? ip-up ?). So i think would have to put it into ip-up somewhere.


--
                        
                        mi.






Reply via email to