Page 1 of 1

Run windows-scheduler-like background jobs

Posted: 10 Oct 2015 13:09
by kane
Hello guys,

I'm a new XYplorer user who's interested in running windows-scheduler-like background scripts/jobs.
I searched the Script Exchange forum for any such topic but found none.. I'm looking forward
to some help with the following task:
  1. A script that always runs in the background (say, every 5 minutes or once every day)
  2. This script runs in the Downloads folder and does the following:
    • Moves archives into a particular folder
    • Moves documents into another folder
    • Moves media files into a folder, and so on...
  3. This script is basically of a housekeeping nature that keeps my otherwise chaotic Downloads folder clean and organized.
Is something like this possible here? I'm used to doing such tasks in Linux using Python.
I'm also looking into windows-scheduler (have never used it before) in case what I'm trying to accomplish
is not possible within XYplorer.

Thanks in advance,
Kavi

Re: Run windows-scheduler-like background jobs

Posted: 10 Oct 2015 13:41
by highend
No this isn't possible.

At least not if you don't want to dedicate a full XY instance for this job. Imho the best way would be an ahk / autoit compiled script, that does the "housekeeping". XY is blocked when it executes a single script (there is no threading) so depending on how much time is needed to move / copy / backup things, the current XY instance would not respond so I'd offload this work to a different tool.

Re: Run windows-scheduler-like background jobs

Posted: 11 Oct 2015 10:31
by kane
Thanks highend :)

Re: Run windows-scheduler-like background jobs

Posted: 12 Oct 2015 14:29
by mkolaski
Belvedere is an AHK script written by one of the guys over on Lifehacker that will do what you want: https://github.com/adampash/belvedere

Alternatively, check out FileJuggler (which is what I use) - it runs as a Windows service and does all tyou want plus it will also rename files based in their contents: http://www.filejuggler.com/

HTH

Cheers,
Michael