Home » manual » Schedule synchronizations in Air Explorer for Mac

Schedule synchronizations in Air Explorer for Mac

In the last version of Air Explorer for Mac, we have added the command line support. Thanks to it, you can schedule tasks like synchronizations, copy files, move files between clouds,…
If you want to schedule a synchronization task with Air Explorer, here you have the  instructions to do it.
Firts of all, you have to create a synchronization in Air Explorer and save it with a name, for example “MySync1″

 mac_command00
In Air Explorer options you have to enable command line suport and write a command line password, ej: mypass
 mac_command01
Open the command line screen from Air Explorer: View/Command line
mac_command02
You can run the  synchronization with the command runsavedsync, ex:
‘/Applications/Air Explorer.app/Contents/MacOS/Air Explorer’ runsavedsync MySync1 /password=mypass
mac_command03
If it was executed well, now we have to schedule it. For this, we have to create a task using “Automator”. You can find this in “Applications” on the Dock of your Mac. Then click “Automator” to launch Apple’s native program for automating tasks.
mac_command04
The Automator window appears, then you have to click “Application” to create a new empty Automator application window.
mac_command05
A list of actions appears in the library in the left pane of the Automator window. You have to search “Run Shell Script” and double click on.
mac_command06
Paste your synchronization command we used before. You can click on Run if you wish to test it again.
mac_command07
Now, you have to save the automator task (File/ Save) in a folder (ex: Documents) and give it a name, ex: MySync1
mac_command08
Then, you can close automator.
To schedule the Automator task we can use Calendar or another external tool like Scheduler.
Option 1: using Calendar:
Open Calendar and “Add new event”, give it a name, for example MySync1, change repeat period, for example “Every day” and the start time depending on when you want to run the synchronization, in Alert select “Custom…”, select “open file”, select “other” to select the file you saved with the automator. Select “At time of the event”.
mac_command09
Now the task is ready, the first time it will run it will ask for permission.
Option 2: using Scheduler
Download and install Scheduler from here:
mac_command10
 

Open “Scheduler” and select File/New Launch.

mac_command11
Set the time when you want to run the synchronization.
mac_command13
In Application or applet to launch, you have to browse to select the file saved with the Automator.
mac_command12
Check “Repeat” if you want to run the synchronization for example every day and finally click OK.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>