Updated Scheduling exports on macOS (markdown)

Yudi
2019-04-11 21:21:56 -03:00
parent 3f6a25fabf
commit 0f29e9c4d5

@@ -2,16 +2,17 @@ Make sure you already have DiscordChatExporter and Mono properly installed ([ins
* [Creating a Workflow](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS#creating-a-workflow-with-automator)
* [Scheduling with Calendar](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS#scheduling-exports-with-calendar)
* [Scheduling with Lingon](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS#scheduling-exports-with-lingon)
* [Exporting on User login](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS#exporting-on-user-login)
## Creating an Application with Automator
## Creating a Workflow with Automator
**1.** Search for `Automator.app` on Spotlight (⌘+SPACE) and open it
**2.** Create a new `Application`
**2.** Create a new `Workflow` file
![](https://i.imgur.com/uXWv2MP.png)
![](https://i.imgur.com/DpsQkAR.png)
**3.** Search for `Shell` and Drag it to the empty space on the right
@@ -72,16 +73,16 @@ exit
`<format>` with one of the available export formats
**6.** Run the Workflow (this may take a while to complete). If the export file was created, you're ready to save the Application.
**6.** Run the Workflow (this may take a while to complete). If the export file was created, you're ready to save the file.
![](https://i.imgur.com/ogPrhNp.png)
## Scheduling Exports with Calendar
## Scheduling with Calendar
**1.** Search for `Calendar.app` on Spotlight (⌘+SPACE) and open it
**2.** Create a New Event (⌘+N).
**2.** Create a New Event (⌘N).
![](https://i.imgur.com/BtmOxc3.png)
@@ -91,8 +92,20 @@ exit
![](https://i.imgur.com/GbUOPmt.png)
## Scheduling with Lingon
[Lingon](https://www.peterborgapps.com/lingon/) ($14.99) is an easy tool to manage `launchd`, which allows you to set schedules for system tasks.
![](https://i.imgur.com/5wl4AXb.png)
**1.** Create a new scheduled task (⌘N)
**2.** Name it
**3.** Choose the Workflow file
**4.** Select the "Scheduled" box and set the time
**5.** Don't forget to save
## Exporting on User Login
@@ -107,4 +120,4 @@ exit
![](https://i.imgur.com/xacYWCA.png)
#
Credits to [@RenanYudi](https://github.com/RenanYudi)
Special thanks to [@RenanYudi](https://github.com/RenanYudi)