Sorry for the unclear post. I'll elaborate.
I have 3 profiles, each set to sync folder between my laptop and my server via VPN and network access.
I made a group profile, which I have scheduled at a specific time to run those profiles, unattended.
Each profile in that group is configured to run "connecttovpn.bat" before they begin. This should not be a problem, because if i'm already connected the .bat file executes and just closes immediatly.
The group profile executes at scheduled time but every morning I find that every profile has failed to run, hence no success.
To figure out what was going wrong every time I ran the group profile manually today.
I see the .bat file execute and close and I'm properly connected to my VPN.
Then when I look at SyncBack it keeps saying "Running "before" program". And after about a minute of doing so, I get a popup from syncback saying that it failed to run the profile. It seems like it doesn't realize the .bat file has long been executed and is waiting for it to tell it's done.
I tried putting "endlocal" in the batfile, which didnt really help.
Anyway, while debugging I did notice that when I run the profile a second time manually it DOES work. So the best thing I can do is see if the profiles execute properly tonight.
I have 3 profiles, each set to sync folder between my laptop and my server via VPN and network access.
I made a group profile, which I have scheduled at a specific time to run those profiles, unattended.
Each profile in that group is configured to run "connecttovpn.bat" before they begin. This should not be a problem, because if i'm already connected the .bat file executes and just closes immediatly.
The group profile executes at scheduled time but every morning I find that every profile has failed to run, hence no success.
To figure out what was going wrong every time I ran the group profile manually today.
I see the .bat file execute and close and I'm properly connected to my VPN.
Then when I look at SyncBack it keeps saying "Running "before" program". And after about a minute of doing so, I get a popup from syncback saying that it failed to run the profile. It seems like it doesn't realize the .bat file has long been executed and is waiting for it to tell it's done.
I tried putting "endlocal" in the batfile, which didnt really help.
Anyway, while debugging I did notice that when I run the profile a second time manually it DOES work. So the best thing I can do is see if the profiles execute properly tonight.