diff options
author | aliasgar16 <aliasgar.batterywala@msystechnologies.com> | 2016-12-05 12:46:02 +0530 |
---|---|---|
committer | aliasgar16 <aliasgar.batterywala@msystechnologies.com> | 2016-12-05 12:52:53 +0530 |
commit | a54c7e34efa9566ee358419a40b6a35fe72f1b29 (patch) | |
tree | 56d9fe1652dd19a3dc146863b6fc165e8ec2e09f | |
parent | 77f7556e7e1fd013ff334d6913f12a6658f0dfd6 (diff) | |
download | chef-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.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" /> |