Log in

View Full Version : shudown forums via cron


bitHacker
03-21-2008, 11:57 AM
I want my forum to turn itself once a week in a specific time, and restart after a day.

(during that time, I'm doing a backup and other stuff which displays some errors on the forum, so I want to shut it done for the duration of the process).

I know how to create a cron via the admin cp, but I have no clue on how to do the "start/stop" for the forums.

thanks in advanced

Marco van Herwaarden
03-21-2008, 12:19 PM
You can never do that using a vBulletin Scheduled task as they don't run when the board is closed (so it could never be opened by a Sched. Task).

Please do a search, this has been discussed before and i think there have been examples posted on how to do with a O.S. cronjob.

bitHacker
03-21-2008, 12:21 PM
I searched but could not find... but thanks for the quick answer.
I'll see on how to do it via the OS... thanks !

Marco van Herwaarden
03-21-2008, 12:37 PM
<a href="http://www.vbulletin.com/forum/showthread.php?t=213135" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=213135</a>

This might get you started.