2

I made a .BAT file which looks like this:

cd "C:\Portable Apps\rclone"
rclone mount Test: X:

What this does is mount a cloud storage location to my "X" drive. When I am double clicking this batch file everything works properly, but when I try to launch it through windows task scheduler nothing happens.

Note: I also tried to use a .EXE wrapper using a utility called "bat2exe", but nothing seems to work.

What did I do wrong...help would be greatly appreciated.

2
  • did you try generating error log for rclone line. also have you permitted administrator privilege to task scheduler Commented Jul 25, 2020 at 3:24
  • i did grant it admin rights...as far as log file goes I couldnt figure out how to generate one. Commented Jul 25, 2020 at 5:30

1 Answer 1

2

I SOLVED IT

Made a batch file with following:

cd "C:\Portable Apps\rclone"

rclone mount Test: X: --config C:\Users\MyUsername\.config\rclone\rclone.conf

Then I entered the following settings in windows scheduler:

enter image description here

Executed it and Behold it worked :))

Not the answer you're looking for? Browse other questions tagged or ask your own question.