![]() |
shudown forums via cron
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 |
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. |
I searched but could not find... but thanks for the quick answer.
I'll see on how to do it via the OS... thanks ! |
<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. |
All times are GMT. The time now is 08:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|