vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   On/Off Forum CronJobs (https://vborg.vbsupport.ru/showthread.php?t=103259)

TrueDeath 12-19-2005 02:23 PM

Quote:

Originally Posted by MAD_PLayEr1
looks cool, i may install it later :)

Please do ^.^

KTBleeding 12-19-2005 04:22 PM

Hm.. I'm not extremely familiar with cron jobs, but from what I understand..

You're able to set up a cron job to do a database backup? And with this mod, turn vB off at the same time as the backup? Does it automatically detect when the backup is finished and come back online, or would you have to set it to go offline for an hour?

Thanks,

Guest190829 12-19-2005 04:45 PM

Quote:

Originally Posted by KTBleeding
Hm.. I'm not extremely familiar with cron jobs, but from what I understand..

You're able to set up a cron job to do a database backup? And with this mod, turn vB off at the same time as the backup? Does it automatically detect when the backup is finished and come back online, or would you have to set it to go offline for an hour?

Thanks,

Looking at the code it does not automatically detect when the backup is finished, you would have to set the open cron to run X amount of time after the backup.

TrueDeath 12-19-2005 06:52 PM

Quote:

Originally Posted by Danny.VBT
Looking at the code it does not automatically detect when the backup is finished, you would have to set the open cron to run X amount of time after the backup.

Yes, you should make the cronjob turn off the board just before your backup is set to take place and then the 2nd cronjob to be when you believe the backup will be finished by.

nighteyes 12-19-2005 08:35 PM

Excellent hack will install when I finally finish our upgrade to 3.5. Will be absolutely perfect AS IS for us.

TrueDeath 12-20-2005 12:57 AM

Added some FAQ's.

yahoooh 01-13-2006 07:20 AM

can be used for 3.0.7?

Robert Basil 01-16-2006 03:56 AM

I am the guy who paid to have this script made and then allowed it to be release to the community for free. :)

Now I am having a problem.

On the servers where I have this running va cron in the AdminCP it works great.

I have one windows server where I want to run the scripts with a batch file. I am using the command line:

c:\php\php.exe -f c:\domains\mydomainnameremoved\wwwroot\includes\cr on\forumoff.php

I do not get any errors when running it via the command line. But the forum does not shut down (or open back up).

Any ideas?

Robert Basil 02-13-2006 11:19 PM

Quote:

Originally Posted by Pocketbike Planet
I am the guy who paid to have this script made and then allowed it to be release to the community for free. :)

Now I am having a problem.

On the servers where I have this running va cron in the AdminCP it works great.

I have one windows server where I want to run the scripts with a batch file. I am using the command line:

c:\php\php.exe -f c:\domains\mydomainnameremoved\wwwroot\includes\cr on\forumoff.php

I do not get any errors when running it via the command line. But the forum does not shut down (or open back up).

Any ideas?

Any ideas on a fix for the above question?

TrueDeath 02-14-2006 01:42 AM

Quote:

Originally Posted by Pocketbike Planet
Any ideas on a fix for the above question?

Please get in direct contact so i can replicate this and fix 4 you


All times are GMT. The time now is 06:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01089 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete