Timeline for Scheduling a bash script? [duplicate]
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 4, 2022 at 14:56 | comment | added | Charles Duffy | I really do recommend using systemd timers if your operating system uses systemd. Not only do they have more features than vixie cron, but they work without needing cron installed so you don't need an extra daemon, and the same tools you use for checking status and logs of other services work for scheduled jobs. | |
| Mar 4, 2022 at 14:34 | comment | added | Charles Duffy | BTW, before I closed it as a duplicate, this question was on a route towards being closed as too broad to be on topic. Only one specific, narrow technical problem to a single Stack Overflow question -- if you have two technical problems, ask two separate questions, after searching for existing questions answering each of those smaller problems! | |
| Mar 4, 2022 at 14:32 | history | duplicates list edited | Charles Duffy | duplicates list edited from How can I select random files from a directory in bash? to How can I select random files from a directory in bash?, How to run a bash script every hour and how to kill it on cloud desktop? | |
| Mar 4, 2022 at 14:29 | history | closed | F. Hauri - Give Up GitHub Charles Duffy bash Users with the bash badge or a synonym can single-handedly close bash questions as duplicates and reopen them as needed. | Duplicate of How can I select random files from a directory in bash? | |
| S Mar 4, 2022 at 14:25 | history | suggested | frippe | CC BY-SA 4.0 | Add scheduling and random-sample tags |
| Mar 4, 2022 at 7:46 | review | Close votes | |||
| Mar 4, 2022 at 14:31 | |||||
| Mar 4, 2022 at 6:44 | comment | added | user1934428 | For randomness, see the bash variable RANDOM and the device /dev/urandom. | |
| Mar 4, 2022 at 6:25 | review | Suggested edits | |||
| S Mar 4, 2022 at 14:25 | |||||
| Mar 4, 2022 at 6:23 | comment | added | frippe | You're asking two different questions, both of which have already been answered on stackoverflow, so check them out: picking random file/folder) stackoverflow.com/questions/414164/…, scheduling) stackoverflow.com/questions/16543715/…. In addition to cron, there's also systemd-timers (and other packages), but cron is quicker and easier to get started with. | |
| S Mar 4, 2022 at 6:09 | review | First questions | |||
| Mar 4, 2022 at 6:17 | |||||
| S Mar 4, 2022 at 6:09 | history | asked | Kwebber321 | CC BY-SA 4.0 |