Files
77th_eventcalenderntfy/entrypoint.sh

6 lines
194 B
Bash

#!/bin/bash
crontab -l > mycron
echo "0 8 * * * bun run ./src/app.ts --today > /dev/null 2>&1" >> mycron
echo "0 * * * * bun run ./src/app.ts > /dev/null 2>&1" >> mycron
crontab mycron
rm mycron