Cron Job Every 3 days
Schedule a task at midnight every three days. Use the cron string 0 0 */3 * *, see the next 5 execution times, and copy Python, Node.js, Bash and n8n snippets.
Quick Answers
- What does the "Every 3 days" cron expression mean?
- This cron expression is "0 0 */3 * *", which in plain English means: Schedule a task at midnight every three days..
- When will this cron expression run next?
- With the expression "0 0 */3 * *", the next execution times are Fri, Aug 07, 2026, 12:00:00 AM UTC, Mon, Aug 10, 2026, 12:00:00 AM UTC, Thu, Aug 13, 2026, 12:00:00 AM UTC.
- How do I use this cron expression?
- Copy the exact string into crontab, cron triggers, or any scheduler such as GitHub Actions, n8n or Docker. Pre-built code snippets for Python, Node.js, Bash, Docker, GitHub Actions and n8n are included on this page.
Cron Expression
Copy this exact string into crontab, cron triggers, or schedulers.
0 0 */3 * *Human readable
Schedule a task at midnight every three days.
Next 5 execution times
- 1Fri, Aug 07, 2026, 12:00:00 AM UTC
- 2Mon, Aug 10, 2026, 12:00:00 AM UTC
- 3Thu, Aug 13, 2026, 12:00:00 AM UTC
- 4Sun, Aug 16, 2026, 12:00:00 AM UTC
- 5Wed, Aug 19, 2026, 12:00:00 AM UTC
Python
from crontab import CronTab
from datetime import datetime
# Install: pip install python-crontab
cron = CronTab(user=True)
job = cron.new(command="/usr/bin/python3 /var/www/job_every-3-days.py", comment="scheduled by crongen")
job.setall("0 0 */3 * *")
cron.write()
print(f"Installed: 0 0 */3 * * -> /usr/bin/python3 /var/www/job_every-3-days.py")