Skip to content

Commit

Permalink
removed datetime from script, testing yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Apr 9, 2024
1 parent a8f579f commit 10947e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/monthly-run.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: monthly lcsh check
on:
schedule:
- cron: '20 15 9 * *'
- cron: '20 30 9 * *'

jobs:
monthly-run:
Expand All @@ -21,7 +21,7 @@ jobs:

- name: Set date
run: |
echo "DATE=$(date "+%Y%m")" >> $GITHUB_ENV
echo "DATE=$(date "+%Y%m%d%T")" >> $GITHUB_ENV
- name: Install dependencies
run: |
Expand Down
3 changes: 0 additions & 3 deletions monthly_lcsh_check.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import datetime

from acc_lcsh_check.log import LogSession

if __name__ == "__main__":
today = datetime.datetime.strftime(datetime.datetime.now(), "%Y%m%d")
logger = LogSession(
logger_name="monthly_lcsh_check",
logfile="lcsh.log",
Expand Down

0 comments on commit 10947e5

Please sign in to comment.