Added cron flag to script.

This commit is contained in:
flash 2019-02-11 16:21:18 +01:00
parent f63a9aba94
commit e97ffb7b3e
2 changed files with 7 additions and 1 deletions

View file

@ -2,3 +2,9 @@
This is the program that runs every day at 12:00 AM UTC and backs up the non-volatile user data from [Flashii](https://flashii.net).
Provided for transparency.
## Grant line for MySQL backup user
```
GRANT SELECT, LOCK TABLES, SHOW VIEW, EVENT, TRIGGER, EXECUTE ON *.* TO 'user'@'localhost';
```

View file

@ -1,3 +1,3 @@
export DOTNET_CLI_TELEMETRY_OPTOUT=1
dotnet run --project BackupManager -c Release -f netcoreapp2.2
dotnet run --project BackupManager -c Release -f netcoreapp2.2 -- -cron