diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-04-03 13:03:13 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-04-03 13:03:13 +0200 |
commit | eb1c6cff914b01732103065781e0ea0cfa225c4e (patch) | |
tree | dfd2cecfcb7a96ce7c72f1df2e0eeac1be121a26 /contrib/desktop-autoloader.cron | |
parent | 36c1d28e6fc34a39360f063cf2a375fe4df1363a (diff) | |
download | desktop-autoloader-eb1c6cff914b01732103065781e0ea0cfa225c4e.tar.gz desktop-autoloader-eb1c6cff914b01732103065781e0ea0cfa225c4e.tar.bz2 desktop-autoloader-eb1c6cff914b01732103065781e0ea0cfa225c4e.zip |
Finalize first draft of desktop-autoloader.
Diffstat (limited to 'contrib/desktop-autoloader.cron')
-rw-r--r-- | contrib/desktop-autoloader.cron | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/desktop-autoloader.cron b/contrib/desktop-autoloader.cron new file mode 100644 index 0000000..87b8a22 --- /dev/null +++ b/contrib/desktop-autoloader.cron @@ -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 |