bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · edit-229 days agoAutostart in Linux Mintsopuli.xyzimagemessage-square21fedilinkarrow-up1187arrow-down18
arrow-up1179arrow-down1imageAutostart in Linux Mintsopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · edit-229 days agomessage-square21fedilink
minus-squareSnot Flickerman@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up29·edit-229 days agoWhen all else fails… crontab -e @reboot sleep 300 && sudo ./myshell.sh (this is actually broken on some distros)
minus-squareScoopta@programming.devlinkfedilinkarrow-up16·29 days agoI’ve been in the systemd world so long none of my systems even have cron
minus-squareGravitySpoiled@lemmy.mllinkfedilinkEnglisharrow-up21·29 days agoThat sounds like a sad world. I like cron
minus-squareScoopta@programming.devlinkfedilinkarrow-up2·29 days agoLOL, I actually like systemd timers, cron seems easier to setup quickly but I do like some of the features of timers combined with services.
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up3·29 days agoThanks. man 5 crontab says the @reboot syntax is supported, so I’ll give that a try if I don’t stumble upon a different solution.
minus-squareSnot Flickerman@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up13·edit-229 days agoJust to make sure it pops off after fully starting up. I run a lot of old hardware, so it’s useful for me. You may not need a delay.
When all else fails…
crontab -e
@reboot sleep 300 && sudo ./myshell.sh
(this is actually broken on some distros)
I’ve been in the systemd world so long none of my systems even have cron
That sounds like a sad world. I like cron
LOL, I actually like systemd timers, cron seems easier to setup quickly but I do like some of the features of timers combined with services.
Reject systemd embrace bashrc.
Thanks.
man 5 crontab
says the@reboot
syntax is supported, so I’ll give that a try if I don’t stumble upon a different solution.Why the long delay?
Just to make sure it pops off after fully starting up. I run a lot of old hardware, so it’s useful for me. You may not need a delay.