планировщик задач не запускается с BAS, но он правильно запускается из папки.



  • решение?

    426ca196-e5ab-4880-a5b8-e2ca2e3431d7-undefined

    LOGS:

    [11:54:30] Run started ...
    [11:54:30] Installing into : C:/Users/principal/AppData/Local/TaskScheduler
    [11:54:30] Version : 1.6.0
    [11:54:30] Console encoding : utf-8
    [11:54:30] Install started ...
    [11:54:30] Making root directory : success
    [11:54:30] Removing corrupted versions started ...
    [11:54:30] Removing corrupted versions finished
    [11:54:30] No installation needed, already installed
    [11:54:30] Latest version : 1.6.0
    [11:54:30] Schedule started ...
    [11:54:30] Checking if any version is scheduled ...
    [11:54:30] Running schtasks.exe /Query /FO CSV /tn TaskSchedulerApplication /V
    [11:54:30] Result : "HostName","TaskName","Next Run Time","Status","Logon Mode","Last Run Time","Last Result","Author","Task To Run","Start In","Comment","Scheduled Task State","Idle Time","Power Management","Run As User","Delete Task If Not Rescheduled","Stop Task If Runs X Hours and X Mins","Schedule","Schedule Type","Start Time","Start Date","End Date","Days","Months","Repeat: Every","Repeat: Until: Time","Repeat: Until: Duration","Repeat: Stop If Still Running"
    "PRINCIPAL-PC","\TaskSchedulerApplication","N/A","Could not start","Interactive only","25/02/2021 20:00:33","-2147024894","N/A","C:/Users/principal/AppData/Local/TaskScheduler//Scheduler.exe ","N/A","N/A","Enabled","Disabled","","principal-PC\principal","Enabled","Disabled","Scheduling data is not available in this format.","At logon time","N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A"

    [11:54:30] No version is scheduled
    [11:54:30] Current username : PRINCIPAL-PC\principal
    [11:54:30] Scheduler.exe location : C:/Users/principal/AppData/Local/TaskScheduler/1.6.0/Scheduler.exe
    [11:54:30] Running schtasks.exe /Create /tn TaskSchedulerApplication /xml C:/Program Files/BrowserAutomationStudio/apps/23.2.2/Scheduler.xml
    [11:54:30] Result :
    ERROR: Cannot create a file when that file already exists.

    [11:54:30] Schedule finished ...
    [11:54:30] Install finished
    [11:54:30] Started scheduler
    [11:54:30] Running schtasks.exe /Run /tn TaskSchedulerApplication
    [11:54:30] Result : SUCCESS: Attempted to run the scheduled task "TaskSchedulerApplication".

    [11:54:30] Start browser : C:/Users/principal/AppData/Local/TaskScheduler/1.6.0/Scheduler.exe --browser
    [11:54:30] Run finished


Log in to reply