vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to set Cron jobs (Scheduled Tasks) from each 1 hour to each 6 hours? (https://vborg.vbsupport.ru/showthread.php?t=285013)

MyLibary 06-28-2012 08:03 PM

How to set Cron jobs (Scheduled Tasks) from each 1 hour to each 6 hours?
 
Try to figure out how to solve this stupid problem.

Right now the "thread views" cron job is doing it every hour, i tried anyway to set it to every 6 hours but failed.

Any suggestions?

- - - Updated - - -

Here i have attached screenshot:

https://vborg.vbsupport.ru/external/2012/06/8.jpg



As you can see i have set it up to hour "6".
I expect to get the script update every 6 hours but it set it up to get updated at 6AM morning every day.

Waiting for your help.

kh99 06-28-2012 08:14 PM

There is no way to specify that through that interface. If you really have to have something run every 6 hours you could add 3 more scheduled tasks that run the same script and set the hour for each to something like 0, 6, 12, and 18. ETA:.. but if you have a forum without much traffic (like 6 hours at a time with no visitors) you might find it causes a problem when it tries to catch up.

MyLibary 06-29-2012 05:50 AM

My forum is pretty active, but what problem it may cause?

kh99 06-29-2012 11:16 AM

I guess I was just thinking that it might slow things down if more than one was running at a time. But as long as your forum has a visitor every 6 hours you should be OK.

Now that I think of it, if traffic was that low you wouldn't get it running more than once at a time, so there really isn't a problem.


All times are GMT. The time now is 12:54 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
  • Page Generation 0.01077 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete