From e3fa2f40e9880369ccdbffe37dd673db2b215cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Tue, 19 Sep 2023 19:51:37 +0200 Subject: [PATCH] feat(README): add crontab tip --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 14c49ea..0088823 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,17 @@ Nextcloud's docker image with extra utilities - `ffmpeg` - Used by [Video converter](https://github.com/PaulLereverend/NextcloudVideo_Converter) app - `aria2` and `youtube-dl` - Used by [NCDownloader](https://github.com/shiningw/ncdownloader) app - `libmagickcore-dev` - To fix `Module php-imagick in this instance has no SVG support` error + +## Tips + +### Cron job + +If you're getting error simmilar to `Last job execution ran a day ago. Something seems wrong.` +try to add this to your cron tab (`sudo crontab -e`): + +```crontab +0,5,10,15,20,25,30,35,40,45,50,55 * * * * docker exec -u www-data php -f /var/www/html/cron.php +``` + +- *Of course don't forget to change the `` to your nextcloud's container name +(eg. `docker-nextcloud_app`)*