Cron Job for Google Calendar Sync not working
-
Hello,
one feature of the Easy!Appointments App is to sync appointments with Google Calendar. To automate this process you have to create a Cron Job.
https://easyappointments.org/2021/02/22/configuring-cron-jobs/
I have tried to add a crontab file in /app/data/, but this does not seem to work. In the Cloudron documentation I read about a scheduler addon that you can put in a Cloudron Manifest. But as far as I understand this is only used for when you are packaging your own app?
Is there any way I can add a Cron Job within the Easy!Appointments App container?
Thank you
Lukas
-
Hello,
one feature of the Easy!Appointments App is to sync appointments with Google Calendar. To automate this process you have to create a Cron Job.
https://easyappointments.org/2021/02/22/configuring-cron-jobs/
I have tried to add a crontab file in /app/data/, but this does not seem to work. In the Cloudron documentation I read about a scheduler addon that you can put in a Cloudron Manifest. But as far as I understand this is only used for when you are packaging your own app?
Is there any way I can add a Cron Job within the Easy!Appointments App container?
Thank you
Lukas
-
I've added the cron-job support to run the
synccommand now. But before publishing the package, the upstream article you have linked uses a cron pattern to run once every hour. Is that what we want as well in the package? Further I don't have a google calendar to test this here locally, so while thesynccommand runs, it basically so far does nothing for me. -
Thank you for your quick response,
I think it would be useful to run the sync command more frequently, like every 5 minutes. I have tested the sync command successfully and it works as expected, I just wasn't able to automate it via a Cron Job.
-
Thank you for your quick response,
I think it would be useful to run the sync command more frequently, like every 5 minutes. I have tested the sync command successfully and it works as expected, I just wasn't able to automate it via a Cron Job.
-
Thank you,
syncing every 5 minutes to Google Calendar is working now.
-
Thank you,
syncing every 5 minutes to Google Calendar is working now.
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