summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorspwhitton2018-12-07 22:15:05 +0000
committeradmin2018-12-07 22:15:05 +0000
commit2e4907963b40a105375cffc9e79c416797673791 (patch)
tree0a4070a41c8e2fa5737fb53e1f3e5030db5ce45c /doc/todo
parentd2a526833f7178a04b00704890cf6ee8c1187618 (diff)
post todo
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/want_Cron.runPropellor_that_does_nothing_if_no_network.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/want_Cron.runPropellor_that_does_nothing_if_no_network.mdwn b/doc/todo/want_Cron.runPropellor_that_does_nothing_if_no_network.mdwn
new file mode 100644
index 00000000..8b2e4797
--- /dev/null
+++ b/doc/todo/want_Cron.runPropellor_that_does_nothing_if_no_network.mdwn
@@ -0,0 +1,9 @@
+I don't have `Cron.runPropellor` on my laptop because it if often offline. But I would like a cronjob that tries to spin the host if its online. Mainly to keep sbuild chroots up-to-date.
+
+I was wondering what the cleanest way to implement this would be. `Cron.runPropellor` could be split into `Cron.runPropellor` and `Cron.runPropellorWhenOnline`, the latter of which does `wget http://google.com >/dev/null` and exits if that command fails.
+
+Or there could be some kind of property which, when set on a host, causes all spins to abort if the host if offline.
+
+And is wgetting Google's homepage the right way to check that we have Internet access?
+
+--spwhitton