I've found an alternative way of scheduling batch jobs in macOS, using the launchd service management framework.
It involves the following 2 steps (see example below):
1. Create a plist (property list) file
2. Load the batch job using launchctl
Example
1. Create a plist (property list) file
The ...
Search found 7 matches
- 25 Aug 2020, 11:04
- Forum: Help
- Topic: Schedule batch jobs - macOS
- Replies: 0
- Views: 898
- 25 Aug 2020, 10:24
- Forum: Help
- Topic: FreeFileSync and RealTimeSync interacting
- Replies: 6
- Views: 661
Re: FreeFileSync and RealTimeSync interacting
A little Googling identified the -W flag for 'open', so:
ensures that FFS finishes before restarting RTS.
open -W -a FreeFileSync ~/Documents1/FreeFileSync/Personal.ffs_batch
- 25 Aug 2020, 08:26
- Forum: Help
- Topic: FreeFileSync and RealTimeSync interacting
- Replies: 6
- Views: 661
Re: FreeFileSync and RealTimeSync interacting
I don't believe that 'open -a' waits, and so 'sleep 10' (seconds) will not be sufficient in all cases.
Instead, I'll look at using 'Run a command: On completion' in the FFS synchronisation settings.
Instead, I'll look at using 'Run a command: On completion' in the FFS synchronisation settings.
- 24 Aug 2020, 21:55
- Forum: Help
- Topic: FreeFileSync and RealTimeSync interacting
- Replies: 6
- Views: 661
Re: FreeFileSync and RealTimeSync interacting
Thanks for this advice.
I've created the following shell script, which may be of use to other macOS users:
#!/bin/zsh
# Script to stop RTS, run schedule FFS batch job, restart RTS
killall RealTimeSync
killall RealTimeSync_i386
sleep 5
open -a FreeFileSync ~/Documents1/FreeFileSync/Personal ...
I've created the following shell script, which may be of use to other macOS users:
#!/bin/zsh
# Script to stop RTS, run schedule FFS batch job, restart RTS
killall RealTimeSync
killall RealTimeSync_i386
sleep 5
open -a FreeFileSync ~/Documents1/FreeFileSync/Personal ...
- 23 Aug 2020, 22:47
- Forum: Help
- Topic: FreeFileSync and RealTimeSync interacting
- Replies: 6
- Views: 661
FreeFileSync and RealTimeSync interacting
I've got FreeFileSync on macOS set up to run an ffs_batch job on a schedule (19:00 daily), to do a mirror sync from folder A to folder B.
I've also got RealTimeSync monitoring the same folder A for changes, and running the same batch job when these occur.
However, I find that when the FFS job runs ...
I've also got RealTimeSync monitoring the same folder A for changes, and running the same batch job when these occur.
However, I find that when the FFS job runs ...
- 26 Jul 2020, 16:15
- Forum: Help
- Topic: Version 11.0 [Donation Edition] macos won't install
- Replies: 1
- Views: 772
Re: Version 11.0 [Donation Edition] macos won't install
OK, I seem to have resolved this - seems to have been due to over-zealous Gatekeeper protection in macos Catalina.
The solution - as described on a number websites - was to temporarily disable Gatekeeper through a Terminal command so that the option 'Allow apps downloaded from Anywhere' appears. (I ...
The solution - as described on a number websites - was to temporarily disable Gatekeeper through a Terminal command so that the option 'Allow apps downloaded from Anywhere' appears. (I ...
- 25 Jul 2020, 22:20
- Forum: Help
- Topic: Version 11.0 [Donation Edition] macos won't install
- Replies: 1
- Views: 772
Version 11.0 [Donation Edition] macos won't install
I'm currently running version 10.15 of FFS on macos Catalina 10.15.6, and wanted to take advantage of the new version 11.0.
I've donated and downloaded version 11.0, but the Installer freezes (rotating beachball) on step 1. Introduction (when clicking on Continue).
Have tried several times.
I've donated and downloaded version 11.0, but the Installer freezes (rotating beachball) on step 1. Introduction (when clicking on Continue).
Have tried several times.