79735083

Date: 2025-08-14 07:31:53
Score: 1.5
Natty:
Report link

It's no perfect solution, since crontab works in months, not in weeks, but the pattern I'd suggest is:

0 3 */14 * *, which executes a job on every 14th-day (at 3 AM) (i.e. 14. and 28.), which is close to bi-weekly, but since most months are 30 or 31 days long, you actually have: An execution on the 14th, 2 weeks pass, another execution, 2 weeks + 2-3 days pass, another execution, then exactly 2 weeks pass, etc.

If it has to be exactly 14 days apart, it could be a bit more tricky.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Larmicon