From 99ec84165228c2e72569898313d68b64ea217497 Mon Sep 17 00:00:00 2001 From: Luiz Andrade Date: Thu, 31 Dec 2015 11:48:17 -0200 Subject: [PATCH] Updating scripts. Now the crontab is configured as well. --- ManagementScripts/config.sh | 7 +++++++ ManagementScripts/install.sh | 0 2 files changed, 7 insertions(+) mode change 100644 => 100755 ManagementScripts/install.sh diff --git a/ManagementScripts/config.sh b/ManagementScripts/config.sh index 8e5223f..9aea2fe 100755 --- a/ManagementScripts/config.sh +++ b/ManagementScripts/config.sh @@ -12,4 +12,11 @@ do done sudo chmod 777 -R /usr/lib/cgi-bin + +#configuring crontab +sudo crontab -u www-data -l > mycron +echo "@reboot /usr/lib/cgi-bin/dsg_slon.sh" > mycron +sudo crontab -u www-data mycron +rm mycron + exit diff --git a/ManagementScripts/install.sh b/ManagementScripts/install.sh old mode 100644 new mode 100755