Timeline for How can I execute `date` inside of a crontab job?
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 6, 2024 at 16:59 | comment | added | Paul Vixie | this approach will however leak $DATEVAR into the environment of every cron entry in that cron tab. for me this is unacceptable, and i would simply escape the %'s. | |
| Jun 7, 2022 at 0:57 | comment | added | rubo77 | Quoting is fixed. You put the definition in the head of your crontab file | |
| Jun 7, 2022 at 0:56 | history | edited | rubo77 | CC BY-SA 4.0 | fixed quoting |
| Jan 11, 2021 at 9:47 | comment | added | Kusalananda♦ | This answer has issues with quoting, and it's unclear where to set the DATEVAR variable and how to do it in such a way that it support e.g. format string containing spaces. | |
| Aug 10, 2017 at 10:24 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 | deleted 2 characters in body |
| Apr 13, 2017 at 12:13 | history | edited | CommunityBot | replaced http://serverfault.com/ with https://serverfault.com/ | |
| S Jan 6, 2016 at 14:24 | history | suggested | Trevi Awater | CC BY-SA 3.0 | Added link. |
| Jan 6, 2016 at 14:13 | review | Suggested edits | |||
| S Jan 6, 2016 at 14:24 | |||||
| Jan 4, 2016 at 8:56 | review | Late answers | |||
| Jan 4, 2016 at 9:25 | |||||
| Jan 4, 2016 at 8:42 | review | First posts | |||
| Jan 4, 2016 at 8:56 | |||||
| Jan 4, 2016 at 8:41 | history | answered | Gawi - Kai | CC BY-SA 3.0 |