PDA

View Full Version : Cron Every 2 Days


TheInsaneManiac
04-30-2009, 06:55 PM
Is it possible to make a cron run every two days instead of every day?

Lynne
05-01-2009, 02:45 AM
Not easily, no.

troybtj
05-16-2009, 04:33 AM
In unix */2 in the "day" field runs an event every other day, though that isn't available in the vBulletin cron.

The cron job itself could be run daily, and have the code itself test for even number in the date, but it would trip up on months with 31 days, leap years, etc.

Dismounted
05-16-2009, 05:19 AM
vBulletin Scheduled Tasks are not the same as a standard cronjob. Scheduled Tasks are not "precise" and are only run when users (and guests) land on a vBulletin page.