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

Create cronjob to run CI check in background. #86

Open
4 tasks
a-t-0 opened this issue Feb 27, 2022 · 0 comments
Open
4 tasks

Create cronjob to run CI check in background. #86

a-t-0 opened this issue Feb 27, 2022 · 0 comments

Comments

@a-t-0
Copy link
Member

a-t-0 commented Feb 27, 2022

Run the following commands behind each other:

bash -c "source src/import.sh src/run_ci_on_github_repo.sh && run_ci_on_all_repositories_of_user a-t-0"
bash -c "source src/import.sh src/run_ci_on_github_repo.sh && run_ci_on_all_repositories_of_user trucol"
bash -c "source src/import.sh src/run_ci_on_github_repo.sh && run_ci_on_all_repositories_of_user hiveminds"
  • Make sure it waits for the previous check to finish before starting a new check.
  • Ideally output a "Success.txt" somewhere after completing the script.
  • Then don't run the new iteration before the success.txt is found.
  • If no success.txt is found after 3 hours, output error.txt message on Desktop.

Or do this in the way that it is supposed to be done in Cron (this issue has been solved before, so I think there's a better strategy than .txt files).

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

No branches or pull requests

1 participant