Scheduled operation
What this is for
Edits one scheduled file operation: copy, move, delete or archive files from a source to a destination on a repeating schedule. Scheduled file operations are installed together with the Share Manager - one payload, no separate download and no Windows service - and run while the Share Manager runs in your signed-in session. They need no folder sharing, no server, no open port and no administrator rights. This window opens from 'New..' or 'Edit..' in the Scheduled operations window and on the 'Scheduled file operations' page of the Share Manager settings, and from the viewer's folder menu item 'Schedule an operation for this folder..', which fills in that folder as the source.
In this order
- Enter a Name and choose the Action.
- Set the Source, and the Destination for copy, move and archive, with 'Choose..', 'Resource..' or 'Via Google Drive'.
- For copy and move choose what happens 'If the name is taken'.
- Open 'File selection conditions' to narrow the files.
- Set 'Start at' and 'Repeat every' and keep 'Run on a schedule' ticked.
- Check 'What would run now..' and press 'Save'.
The elements
Getting started
Open the Scheduled operations window from the Share Manager's tray menu, from the viewer's folder menu item 'Scheduled operations..' (it is there for every folder listing) or with a key you give to the viewer command 'Scheduled operations' in the viewer's hotkey settings - it has no key by default. The 'Scheduled file operations' page of the Share Manager settings opens the same window through its link 'Open in a separate window..'. A safe first operation: press 'New..', choose Copy, take a folder with a few test files as the Source and an empty folder as the Destination, set 'Repeat every', keep 'Run on a schedule' ticked, look at 'What would run now..' (it lists the files and changes nothing) and press 'Save'. Operations run only while 'Run scheduled operations on this computer' is ticked in the Scheduled operations window; unticking it stops every schedule, and 'Run now' still works by hand. The Share Manager has to be running: the link 'Open the autostart setting' leads to its start with Windows sign-in. While the PC sleeps or the Share Manager is closed nothing runs; at the next start a missed run happens once if 'Run a missed schedule once when the program starts' is ticked. 'History..' shows every run. From the command line (FastMediaSorterCompanion.exe), schedule add, schedule remove, schedule run, schedule list and schedule history manage operations and read the journal once «Let other programs..» is on.
Action and name conflicts
The Action is Copy, Move, Delete or Archive, and the window shows only the rows that action needs: Delete has no Destination; 'If the name is taken' (Skip, Overwrite, Keep both copies) appears for Copy and Move only; 'Delete the original files after the archive is verified' appears for Archive only and removes originals only after the archive has been read back and checked.
Source and destination
Type a full path or press 'Choose..'. 'Resource..' picks an SFTP server or network folder from the viewer's resource list and is not offered for Archive, which takes ordinary folders and Google Drive only. 'Via Google Drive' appears only when you are signed in to Drive or that side already uses it. When 'Include subfolders' is off, only the files of the source folder itself are processed. Save refuses system and program folders and a destination equal to or inside the source, and says what is wrong.
Via Google Drive
'Via Google Drive' opens a short window that says what this side means. As a source it offers 'What other devices send to this PC' and the folders your other devices publish; as a destination, 'Any of my devices' and each of your devices by name. Files for a destination go in packets through your own Google Drive and reach the device when it picks them up; subfolders are not kept. Files from a source arrive in a temporary folder of this PC and reach the destination under their base names, without subfolders. A packet leaves your Google Drive only after all its files have reached the destination, and a move removes an original only after its packet is on your Google Drive. From a device's folder a run takes what changed since the last complete run. Only one side can use Google Drive; Save refuses Delete and file age conditions for a Google Drive source, and 'What would run now..' warns that what comes via Google Drive becomes known at the run. If Google Drive does not answer, the run is skipped and the next one tries again. No room on Google Drive, a lost sign-in or a refusal from the device stops the run, and the history says why.
Folder backup
The action 'Folder backup (FileDO)' saves the whole Source folder into the Destination folder as one numbered copy per run. A copy is named after the folder and the operation, with a number from 001 up to 'Copies to keep' (1 to 999, 7 by default). Once the set is full, the next run's copy replaces the oldest one, and only after the new copy has been written and checked; a failed or stopped run removes nothing, and the source folder is never changed. With 'Protect the copies with a password (FileDO container)' each copy is a sealed .fd-sec container that opens only with that password. The password is kept on this PC for this operation only, is never shown or exported, and an imported operation waits until you enter it again. The backup needs FileDO. Source and Destination are ordinary folders, SFTP servers or SMB shares chosen with 'Resource..' (not Google Drive), and the Destination cannot lie inside the Source. An SMB share is connected with its stored password for the run and released when the run ends; an SFTP source is downloaded into a temporary folder of the run and backed up from there, and an SFTP destination receives each copy as an upload that takes its numbered place only after it has been read back in full - a run that fails removes nothing. File selection conditions and 'If the name is taken' do not apply: the folder is saved as one unit. The journal records the number of each copy and the copy it replaced. Alternatively, 'Keep copies for N days (dated)' names each copy with its local timestamp and retires copies older than N days after verifying the new copy, while 'Always keep the first copy of each month' preserves the earliest copy of every calendar month indefinitely and journals every retired file. 'Skip symbolic links and junctions' skips links instead of refusing the backup and records each skipped link in the journal.
Deleting files
When files will be removed (Delete, or Archive with the originals option), a line 'Delete: ..' tells where they go: to the Recycle Bin, or permanently with the reason, for example a network or removable disk has no Recycle Bin. For such an operation Enter does not save; press 'Save' on purpose. A scheduled run never asks questions and records where deleted files went.
File selection conditions
The panel opens by itself when conditions differ from the defaults. File types: All files, Images, Audio, Video, Documents (All files switches the other four off). Modified: All time, New since the last run, Last hour, Last 24 hours. Name mask and Exclude by mask take several masks separated by a semicolon, for example *.jpg;IMG_??.png, compared with the file name. Older than and Younger than are in days and hours, Larger than and Smaller than in MB. 'Include hidden and system files' is off by default.
Schedule
'Start at' sets the time of day and 'Repeat every' the interval in hours and minutes; a whole number of days repeats at the same time. The line under them shows 'Next run: time (rule)' or 'The schedule is off: the operation runs by hand only.' 'Run a missed schedule once when the program starts' and 'Show a notification on error' are separate choices. Another line states that the schedule works only while the Share Manager is running, and whether it starts at Windows sign-in; nothing in this window changes autostart.
Preview and Save
'What would run now..' lists the files the operation would process and changes nothing; a run does not need it. 'Save' stores the operation, or lists what must be fixed. 'Cancel' discards your edits.
Manager settings · SFTP sharing settings · Exchange server settings