Updated Scheduling exports with Mono & Crontab (markdown)

Yudi
2019-04-20 17:43:26 -03:00
parent 76a0b696d8
commit 6d3e674412

@@ -1,6 +1,6 @@
Make sure you have DiscordChatExporter and Mono properly installed ([instructions here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions)).
You can use Crontab on macOS, but [this method](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS) is preferred.
You can use Cron on macOS, but [this method](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS) is preferred.
#
@@ -66,7 +66,7 @@ exit
**5.** Add a new job to crontab using `sudo crontab e`
**6.** Add `* * * * * /path/to/DiscordChatExporter/cron.sh >/tmp/discordexporter.log 2>/tmp/discordexportererror.log` to the end of the file
**6.** Add `* * * * * /path/to/DiscordChatExporter/cron.sh >/tmp/discordchatexporter.log 2>/tmp/discordchatexportererror.log` to the end of the file
Replace the *s according to:
@@ -79,7 +79,7 @@ Week starts on Sunday. 0 = SUN, 1 = MON...
Filename date format is YYYY-MM-DD-hh-mm-ss.
The cron file is located at `/usr/lib/cron/tabs` on macOS, and at `/var/spool/cron/crontabs` on Linux, but should always be edited with `crontab -e`.
The Cron file is located at `/var/spool/cron/crontabs` on Linux, and at `/usr/lib/cron/tabs` on macOS, but should always be edited with `crontab -e`.
#
@@ -100,4 +100,4 @@ Every Wednesday at 9 AM `0 9 * * 3`
Verify your cron time [here](https://crontab.guru).
#
Credits to [@RenanYudi](https://github.com/RenanYudi)
Special thanks to [@RenanYudi](https://github.com/RenanYudi)