Skip to main content

Timeline for Using shell with cron

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Feb 19, 2021 at 3:46 comment added user120300 I cannot understand how this issue is so undocumented. Surely RPis are often used to run a single app at boot?
Feb 19, 2021 at 3:45 comment added user120300 screen and tmux did not work for me. I have got around it for now using the workaraoun don the bottom of this but this only works if booting to desktop; not from console.
Feb 17, 2021 at 11:20 answer added Ljm Dullaart timeline score: 1
Feb 17, 2021 at 5:27 comment added Seamus It's a very interesting idea. I've never tried this, and I'm not quite sure it can be done. If it can be done, the only way I can think to get it done would be to use your cron job to start a screen or tmux session which you could then take control of when you logged in to your interactive shell. It's certainly worth a try... A quick search revealed a few ideas including this one, and this one
Feb 17, 2021 at 4:49 comment added user120300 I am using it to start the app @reboot, after a short delay to help ensure other services are fully running. I'd gladly use another method but cannot figure out how to do it so that other services fully load at boot.
Feb 17, 2021 at 2:50 review Close votes
Mar 6, 2021 at 3:09
Feb 17, 2021 at 2:16 answer added user130167 timeline score: 1
Feb 17, 2021 at 2:14 comment added Jaromanda X you can't make cron jobs interactive - that's not what cron jobs are for
Feb 17, 2021 at 2:00 history asked user120300 CC BY-SA 4.0