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.

Reply
  • 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.

Children