aboutsummaryrefslogtreecommitdiff
path: root/contrib/desktop-autoloader.cron.d
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/desktop-autoloader.cron.d')
-rw-r--r--contrib/desktop-autoloader.cron.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/desktop-autoloader.cron.d b/contrib/desktop-autoloader.cron.d
new file mode 100644
index 0000000..87b8a22
--- /dev/null
+++ b/contrib/desktop-autoloader.cron.d
@@ -0,0 +1,6 @@
+# After a system has booted, check what time it is and pre-load the
+# filesystem cache with a standardized desktop session
+
+SHELL=/bin/bash
+
+@reboot desktop-autoload [ $(date +%s) -lt $(date -d 07:30 +%s) ] && sleep 60 && desktop-autoload