Skip to content
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

add: gh workflow to keep server alive #45

Closed
wants to merge 2 commits into from

Conversation

nilesh05apr
Copy link

Switch From Ping Mechanism To Heroku Scheduler #38

Added github actions workflow to solve the issue. scheduled a cron job for every 10 minute which sends curl request to https://mftp.herokuapp.com/

runs-on: ubuntu-latest
steps:
- name: cURL request
run: curl -X GET https://mftp.herokuapp.com/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
run: curl -X GET https://mftp.herokuapp.com/
run: curl mftp.herokuapp.com -o NUL

Do you think we should use the original command, as it is from the script?

@nilesh05apr nilesh05apr marked this pull request as ready for review October 8, 2022 14:16
@proffapt
Copy link
Member

Closing this, because:

@proffapt proffapt closed this Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants