diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..c3f937c --- /dev/null +++ b/start.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +cd "/PATH/TO/WORKING/DIR/" || exit 1 +# Get the current day of the month +day_of_month=$(date +%d) + +# Check if it's the 1st of the month +if [ "$day_of_month" -le 3 ] && [ "$day_of_month" -ge 1 ]; then + # Run your command + rm *.pdf + rm *.json + /PATH/TO/WORKING/DIR/lunchbot-env/bin/python getmenu.py +fi + + +/PATH/TO/WORKING/DIR/lunchbot-env/bin/python lunch.py + + +exit