diff options
author | aliasgar16 <aliasgar.batterywala@msystechnologies.com> | 2016-12-05 12:46:02 +0530 |
---|---|---|
committer | aliasgar16 <aliasgar.batterywala@msystechnologies.com> | 2016-12-09 19:40:30 +0530 |
commit | dbbf8f55c59ee2c18c76aafdc181001c1c358155 (patch) | |
tree | 904f432afafe4a0363bb48369e43b49371269f21 | |
parent | 0e69b22cd0c58bb4051c272058475494d803577b (diff) | |
download | chef-dbbf8f55c59ee2c18c76aafdc181001c1c358155.tar.gz |
Removed ST attribute as its absense will make schtasks utility to fetch the current time as the start time for scheduled task.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
-rw-r--r-- | omnibus/resources/chef/msi/source.wxs.erb | 2 |
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=""[SystemFolder]SCHTASKS.EXE" /CREATE /TN "ChefClientSchTask" /SC "MINUTE" /MO "30" /F /TR "cmd /c \"[EMBEDDEDBIN]ruby.exe [PROJECTLOCATIONBIN]chef-client -L [CONFIGLOCATION]chef-client.log -c [CONFIGLOCATION]client.rb\"" /RU "NT Authority\System" /RP /RL "HIGHEST" /ST "<%= (Time.now + 60 * 30).strftime('%H:%M') %>"" + ExeCommand=""[SystemFolder]SCHTASKS.EXE" /CREATE /TN "ChefClientSchTask" /SC "MINUTE" /MO "30" /F /TR "cmd /c \"[EMBEDDEDBIN]ruby.exe [PROJECTLOCATIONBIN]chef-client -L [CONFIGLOCATION]chef-client.log -c [CONFIGLOCATION]client.rb\"" /RU "NT Authority\System" /RP /RL "HIGHEST"" Execute="deferred" Impersonate="no" Return="check" /> |