howto : debugging Windows Scheduler job #154
GuitarBilly
started this conversation in
Show and tell
Replies: 1 comment
-
|
Thank you for reporting back. Anyway, glad your issue is resolved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT : since I now investigated and resolved my issue, I moved this to Show and Tell as reference for others.
hello again!
it is time to enable an automated npbackup job on Windows. I have set the configuration, it runs fine manually from the GUI. Then I created the windows scheduler task.
However it does not run from the scheduler, and provides status 0x78 on each run.

(had the task disabled for a while, re-enabled today)
Googling 0x78 does not really lend a clue to what could be going on. My suspision is the fact that the scheduler task is listed to be run as user SYSTEM.

HOW TO DEBUG
To get better feedback, run the task from the commandline as user SYSTEM, and capture all feedback and error messages.
REPLICATE THE TASK SCHEDULER TASK
Start a programline, click Edit...Start in (optional)and do a cd<starting_folder_path>in the SYSTEM terminalProgram/scriptline and paste it in the SYSTEM terminalAdd arguments (optional)line and paste it in the SYSTEM terminal after the previous command.investigate the terminal feedback and resolve your issue(s). mine was a missing rclone config for the SYSTEM user; it could not find the OneDrive target that I had specified.
Beta Was this translation helpful? Give feedback.
All reactions