summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/xconfig.cron
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-config/xconfig.cron')
-rwxr-xr-xabs/core/LinHES-config/xconfig.cron7
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/xconfig.cron b/abs/core/LinHES-config/xconfig.cron
new file mode 100755
index 0000000..ec44803
--- /dev/null
+++ b/abs/core/LinHES-config/xconfig.cron
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+/usr/MythVantage/bin/xconfig.sh >> /dev/null 2>&1 &
+#remove xconfig.cron from root crontab
+grep -v "* * * * * /usr/bin/bash /usr/MythVantage/bin/xconfig.cron" /var/spool/cron/root > /var/spool/cron/root2
+mv /var/spool/cron/root2 /var/spool/cron/root
+echo "root" >> /var/spool/cron/cron.update