PDA

View Full Version : Creating an hourly Scheduled Task.



Muhanned Maayeh
10-15-2014, 06:41 AM
I have an InstallScript MSI project and I had created Scheduled Tasks. One of the tasks I need to modify this to be a recurring task to run ever hour. Does anyone know how to accomplish this? As the Scheduled Task node located under the System Configuration --> Scheduled Tasks only has the daily schedule type as the minimum interval you can create.

hidenori
10-15-2014, 10:01 AM
An hourly scheduled task can be configured through the Advanced settings that is available in the Windows Task Scheduler, but InstallShield currently doesn't support it. Therefore, I file the enhancement work order #IOJ-1699991 to take into consideration for a future release.

Thank you for your feedback!

Muhanned Maayeh
10-16-2014, 01:34 AM
An hourly scheduled task can be configured through the Advanced settings that is available in the Windows Task Scheduler, but InstallShield currently doesn't support it. Therefore, I file the enhancement work order #IOJ-1699991 to take into consideration for a future release.

Thank you for you feedback!

Thank you very much for the enhancement request as this will help in the future but, how do I accomplish this now? I understand I cannot use the current nodes however, is there a method that will accomplish what I need to do?

hidenori
10-16-2014, 10:33 AM
To get it workaround, you can create your own custom action that will manage your scheduled tasks. See this post (https://community.flexerasoftware.com/showthread.php?217761-Import-a-scheduled-task-by-using-Custom-Action) as an example on how a scheduled task can be created with the Schtasks.exe (http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx) command.

Muhanned Maayeh
10-20-2014, 02:45 AM
To get it workaround, you can create your own custom action that will manage your scheduled tasks. See this post (https://community.flexerasoftware.com/showthread.php?217761-Import-a-scheduled-task-by-using-Custom-Action) as an example on how a scheduled task can be created with the Schtasks.exe (http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx) command.

Thank you very much I will check this post out.