Deploy cron jobs to ask yes/no questions to webpages. U get an email if yes.
# Install
uv add modal
modal token newConfigure cron jobs in webpage-question-checker.py:
@app.function(schedule=modal.Cron("0 9 * * *"), timeout=300)
def check_if_christmas():
webpage_url = "https://isitchristmas.com"
question = "Is it Christmas?"
check_webpage_logic(webpage_url, question)Create secrets:
modal secret create openai-secret OPENAI_API_KEY=sk-proj-...
modal secret create email-sender-receiver-password \
SENDER_EMAIL=you@gmail.com \
RECEIVER_EMAIL=you@gmail.com \
EMAIL_PASSWORD=your-app-passwordDeploy:
modal deploy webpage-question-checker.pyTest immediately: modal run webpage-question-checker.py
~$0.03/month (OpenAI gpt-5-mini + Modal free tier)