Have a simple (?) question for the community tonight; and hope there might be a solution hangin' around out there ;o)
Would like, in my significant ignorance, to create a simple startup script which will call "unattended-upgrade" located in /usr/bin for a quick run after each boot.
The problem which I'm wrestling with is the fact that
a) I can't nail down the basic syntax to call an inline sleep command ("sleep 600s") in conjunction with "unattended-upgrade" to allow the system to settle out & get a net connection before running the server check; and
b) I don't know what must be done to allow the "unattended-upgrade" script to execute @ startup without a system password...
For the record, I've also tried messing around cron/anacron as posted in the relevant snippet over here:
...but this approach requires root as well to get going; and seems to have a rather messy way of issuing the necessary "sleep" delay before firing off unattended-upgrade.
If this approach of mine is positively "Monty Python" in the final analysis, I'm all ears for the alternatives -- just thought it would be nifty to be able to make a quick autostart script which I could simply drop onto any of my machines and be done with it!
Thanks a bunch