How to add a cronjob in cloudron
-
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
-
N nebulon marked this topic as a question on
-
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.
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login