How to add a cronjob in cloudron
Solved
Support
-
wrote on Jul 22, 2023, 2:35 PM last edited by girish Jul 23, 2023, 5:13 AM
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? -
App Devwrote on Jul 22, 2023, 2:51 PM last edited by Kubernetes Jul 22, 2023, 2:52 PM
You can configure a cronjob in the "Container" (or better App) Settings in Cloudron
Look here -> https://docs.cloudron.io/apps/#cron
-
-
wrote on Jul 24, 2023, 12:14 PM last edited by
I added it here and then saved it. I restarted the app but I cannot see my cronjob when I use
crontab -l
. -
wrote on Jul 25, 2023, 11:58 AM last edited by
Got it thanks.
-