-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(63) - Configure nostr-sync server with cronjobs #136
base: main
Are you sure you want to change the base?
(63) - Configure nostr-sync server with cronjobs #136
Conversation
Hey Ben, we usually link the ticket number in the PR description, it creates a bidrectional link. I'll create one here: |
Notes taken, thanks man! |
I pushed some fixes to this branch. I think this should get the script running but we can let it run overnight to see for sure. They will fail but they should execute and leaves some logs in /var/log/syslog. |
I looked at the logs this morning and I'm confused about what I saw. I pushed another small fix and I'm going to look again tomorrow morning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok these scripts are running now. I updated them to run every hour because it will keep the content fresh and the one I fixed (news_sync) only takes a second to execute when it is run frequently. Maybe in the future we should play with running them even more frequently.
The other two scripts fail on every run, but that's not a problem with these ansible-scripts, so we'll deal with that elsewhere.
@nbenmoody even though you opened this originally can you take a look at the PR and the syslog and merge if you are satisfied?
@rabble - I think @mplorentz's update just matches what we manually did last week, but he has increased the grow_fedi script to run every hour also, instead of each day like we had it. Is that what we are wanting now? I can push a quick update, if not, just let me know! |
Okay, @rabble confirmed this was good, in Slack. However, I did find some errors on these scripts when they are running: the
However, it also seems to be alright sometimes?
|
...and then the
The news_sync script appears to be working alright:
|
I am tracking the above issues in https://github.com/verse-pbc/issues/issues/18 |
Description/Goals
I want to create a server to run a few specific sync jobs on a daily basis.
Summary of Changes
Tasks Before Merging