feat: add crontab

This commit is contained in:
dancingCycle 2023-05-08 15:13:32 +02:00
parent 58419e9dda
commit 00671fd14d
2 changed files with 5 additions and 1 deletions

4
crontab Normal file
View File

@ -0,0 +1,4 @@
HOME=<set variable!>
# m h dom mon dow command
@reboot rm -f $HOME/.monit.pid && monit -c $HOME/.monitrc
23 0 * * Tue,Thu cd $HOME/git/gtfs4delfi && sh ./dload.sh <work dir> <url>

View File

@ -4,5 +4,5 @@ mkdir -p ~/git
cd git
git clone https://git.wtf-eg.de/dancesWithCycles/gtfs4delfi.git
cd gtfs4delfi/
./dload . https://www.opendata-oepnv.de/index.php?id=1384&tx_vrrkit_view%5Bsharing%5D=eyJkYXRhc2V0IjoiZGV1dHNjaGxhbmR3ZWl0ZS1zb2xsZmFocnBsYW5kYXRlbi1ndGZzIiwidXNlcklkIjoxNjE0fQ%3D%3D&tx_vrrkit_view%5Baction%5D=download&tx_vrrkit_view%5Bcontroller%5D=View
crontab -e
```