Update 'Usage'

Chris 2022-09-04 15:11:20 +00:00
parent f1249d68e9
commit 6e8873d1fe
1 changed files with 11 additions and 1 deletions

@ -30,12 +30,22 @@ $ fresh.phar --check || ./update.sh
### Slack/Mattermost Webhooks
Fresh can invoke a Slack-compatible webhook to notify before anything is actually updated. To do this, use the `--slack` flag followed by the webhook URL
Fresh can invoke a Slack-compatible webhook to notify before anything is actually updated. To do this, use the `--slack` flag followed by the webhook URL:
```shell
# Notify something
$ fresh.phar --slack https://my.server.tld/url
```
### Script hooks
You can specify a script to run after an update by using the `--after` flag.
```shell
# Do something
$ fresh.phar --after /path/to/fix-stuff.sh
```
## Scheduled run
### Using cron