10 lines
298 B
Bash
10 lines
298 B
Bash
#!/bin/sh
|
|
set -e # Exit on any error
|
|
|
|
echo "Starting Process Events job..."
|
|
if curl -sS -f --connect-timeout 30 --max-time 300 "http://web:3000/api/trpc/eventQueue.processEvents"; then
|
|
echo "Process Events job completed successfully"
|
|
else
|
|
echo "Process Events job failed" >&2
|
|
exit 1
|
|
fi
|