summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliasgar16 <aliasgar.batterywala@msystechnologies.com>2016-12-05 12:46:02 +0530
committeraliasgar16 <aliasgar.batterywala@msystechnologies.com>2016-12-05 12:52:53 +0530
commita54c7e34efa9566ee358419a40b6a35fe72f1b29 (patch)
tree56d9fe1652dd19a3dc146863b6fc165e8ec2e09f
parent77f7556e7e1fd013ff334d6913f12a6658f0dfd6 (diff)
downloadchef-btm/msys5540.tar.gz
Removed ST attribute as its absense will make schtasks utility to fetch the current time as the start time for scheduled task.btm/msys5540
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
-rw-r--r--omnibus/resources/chef/msi/source.wxs.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/omnibus/resources/chef/msi/source.wxs.erb b/omnibus/resources/chef/msi/source.wxs.erb
index 6697ae9aca..7e04109e00 100644
--- a/omnibus/resources/chef/msi/source.wxs.erb
+++ b/omnibus/resources/chef/msi/source.wxs.erb
@@ -71,7 +71,7 @@
<CustomAction Id="CreateChefClientScheduledTask"
Directory="TARGETDIR"
- ExeCommand="&quot;[SystemFolder]SCHTASKS.EXE&quot; /CREATE /TN &quot;ChefClientSchTask&quot; /SC &quot;MINUTE&quot; /MO &quot;30&quot; /F /TR &quot;cmd /c \&quot;[EMBEDDEDBIN]ruby.exe [PROJECTLOCATIONBIN]chef-client -L [CONFIGLOCATION]chef-client.log -c [CONFIGLOCATION]client.rb\&quot;&quot; /RU &quot;NT Authority\System&quot; /RP /RL &quot;HIGHEST&quot; /ST &quot;<%= (Time.now + 60 * 30).strftime('%H:%M') %>&quot;"
+ ExeCommand="&quot;[SystemFolder]SCHTASKS.EXE&quot; /CREATE /TN &quot;ChefClientSchTask&quot; /SC &quot;MINUTE&quot; /MO &quot;30&quot; /F /TR &quot;cmd /c \&quot;[EMBEDDEDBIN]ruby.exe [PROJECTLOCATIONBIN]chef-client -L [CONFIGLOCATION]chef-client.log -c [CONFIGLOCATION]client.rb\&quot;&quot; /RU &quot;NT Authority\System&quot; /RP /RL &quot;HIGHEST&quot;"
Execute="deferred"
Impersonate="no"
Return="check" />