aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-05-20 08:47:19 +0200
committerPeter Mikus <pmikus@cisco.com>2022-05-20 08:47:19 +0200
commit28017866a432b2ddab6777ba1ca2d274553e52c3 (patch)
tree9aa427eacd86cca49ac5549a512bb38d76aa36f6 /resources/tools/dash/app
parent434cc4468317689232db8f143e7b06e6e3cacb4b (diff)
feat(uti): Infra updates
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I82f84b81f4a016c8bd503e60caacf34f24d407d5
Diffstat (limited to 'resources/tools/dash/app')
-rw-r--r--resources/tools/dash/app/.ebextensions/cron-linux.config9
1 files changed, 8 insertions, 1 deletions
diff --git a/resources/tools/dash/app/.ebextensions/cron-linux.config b/resources/tools/dash/app/.ebextensions/cron-linux.config
index 505cd973fa..ae8c33c814 100644
--- a/resources/tools/dash/app/.ebextensions/cron-linux.config
+++ b/resources/tools/dash/app/.ebextensions/cron-linux.config
@@ -4,4 +4,11 @@ files:
owner: root
group: root
content: |
- 0 4 * * * root /bin/echo 'c' > /tmp/masterfifo \ No newline at end of file
+ SHELL=/bin/bash
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ MAILTO=root
+ 0 6 * * * root /bin/echo 'c' > /tmp/masterfifo
+
+commands:
+ remove_old_cron:
+ command: "rm -f /etc/cron.d/mycron.bak" \ No newline at end of file