I want a few things to happen as soon as I get an internet connection
after not having had one. For example, if I am offline during a long bus
trip with a 40-minute transfer but I manage to find a coffee shop
with internet access during the transfer, I want to run the things
the moment I get access in the coffee shop.

I want to run things like these.

* Send emails that I have queued for sending.
* Receive new emails.
* Synchronize fossil repositories
* Synchronize git repositories

It would suffice to add a crontab entry that runs the attachment
periodically. But I request commentary on the following.

1. Is there already a better way to do this?
2. Is there a better way to determine whether I have just established
   a connection?

With great humility,
Ipsen

Attachment: on-connect
Description: on-connect

Reply via email to