Task Scheduler while NOT Logged In

SOLVED

This is a rare case, but occasionally our server gets rebooted for one reason or another and the user who has scheduled the tasks is logged out.

In the Sage task scheduler, I do have the Windows User Logon information filled out.

In the Windows Task Scheduler, the "Run whether user is logged on or not" is selected.

However, the task only runs when the user is logged on.  So after a reboot, I have to log back into the server so the tasks can execute.

Is it possible to have the task scheduler task execute when I am not manually logged in?

Parents
  • 0

    In Task Scheduler, in the Task properties, on the General tab, besides "Run whether user is logged on or not", is "Run with highest privileges" also selected? Even for my own custom programs I need to check this box for it to run unattended successfully.

  • 0 in reply to Alnoor

    These are greyed out in Windows for the Tasks created by Sage Task Scheduler,  unless I don't have privileges for tasks I create 

  • 0 in reply to mike_fortuna

    Actually the Sage task DOES attempt to check that box when creating the Windows task. Since it cannot, very likely it doesn't have the permission do so. If running on Advanced or Premium, it means the account running Sage App Server (service) doesn't have that permission.

    Also, since you cannot yourself directly in Windows Task Scheduler override that setting, I presume that means your own Windows account doesn't have that permission either. Try logging in as Administrator.

  • 0 in reply to Alnoor

    I have this issue as well.  Sage 100 2015, Windows Server 2012 R2 (Terminal Server).  I have tried every possible setting for the Tash Scheduler, but unless I am logged into the actual Terminal Server (not a session), the Sage Intelligence reports tasks won't trigger if I am not actually logged in on the Server as Administrator.  I have save the admin login and password in the Task Scheduler, but nothing works.  My workaround works ok, until that time there is a reboot then I have to login to the Server and not ever log out.  

Reply
  • 0 in reply to Alnoor

    I have this issue as well.  Sage 100 2015, Windows Server 2012 R2 (Terminal Server).  I have tried every possible setting for the Tash Scheduler, but unless I am logged into the actual Terminal Server (not a session), the Sage Intelligence reports tasks won't trigger if I am not actually logged in on the Server as Administrator.  I have save the admin login and password in the Task Scheduler, but nothing works.  My workaround works ok, until that time there is a reboot then I have to login to the Server and not ever log out.  

Children