Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: run script forever

You can use Task Scheduler and select the "Run whether user is logged on or not".
nuwwrak

run script forever

Hi
I want to sync a directory on 5 windows 7 machines to a windows 2019 ssh server
so i created a script and this works.

Now I need to make sure this script runs every 10 minutes forever.
If the windows 7 machine gets rebooted it should start syncing again.

So whats the best way to do this?
I create a scheduled task on the system account? I create a service?
I prefer creating tasks/services with cmd, powershell2,...
thanks