How to add a cronjob in cloudron
Solved
Support
-
Hi,
When I try to add a cronjob using the command
echo "0 22 * * * curl -X POST http://localhost:8000/refresh_webhook >> /var/log/cron.log 2>&1" | crontab -
I get the error
/var/spool/cron/: mkstemp: Read-only file system
.
How can I add a cronjob inside the container in cloudron? -
You can configure a cronjob in the "Container" (or better App) Settings in Cloudron
Look here -> https://docs.cloudron.io/apps/#cron
-
-
I added it here and then saved it. I restarted the app but I cannot see my cronjob when I use
crontab -l
. -
Got it thanks.
-