File: desktop-autoloader.cron.d

package info (click to toggle)
desktop-autoloader 0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 116 kB
  • sloc: sh: 104; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (4)
1
2
3
4
5
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-autoloader [ $(date +\%s) -lt $(date -d 07:30 +\%s) ] && sleep "$(( ( RANDOM \% 200 )  + 61 ))" && desktop-autoloader