Skip to content

Commit

Permalink
Merge pull request #378 from LokasWiki/add_php_archive_bot_to_jobs
Browse files Browse the repository at this point in the history
add php archive bot to cronJob
  • Loading branch information
loka1 authored Aug 10, 2024
2 parents 320cdca + dd9c25b commit 9f7d3be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions toolforge/cronjobs1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@
image: tf-python39
emails: onfailure
<<: *defaults
- name: php-archive-bot
no-filelog: false
command: $HOME/repos/toolforge/jobs/php_archive_bot.sh
schedule: '0 6 * * *'
image: php7.4
emails: onfailure
6 changes: 6 additions & 0 deletions toolforge/jobs/php_archive_bot.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

php "$HOME"/sc/script/MyScripts.php

# Exit the script after running all the Python files
exit 0

0 comments on commit 9f7d3be

Please sign in to comment.