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 every one minute (https://vborg.vbsupport.ru/showthread.php?t=302640)

Easy5s.net 09-25-2013 03:07 PM

How to set cron every one minute
 
Hello, i wan set cron every one minute in vbb Scheduled Task Manager?

Lynne 09-25-2013 06:09 PM

From the admin popup help page:

Quote:

Set it to * to have it run every minute (not really recommended!).

ozzy47 09-25-2013 07:32 PM

What would be the purpose of running something every minute, what is it exactly you are trying to accomplish?

Easy5s.net 09-26-2013 01:43 AM

Quote:

Originally Posted by Lynne (Post 2447960)
From the admin popup help page:

Yes, i have set like, but it not run as cron time. It is usually delay 1 to 2 minutes, sometimes more than 10 minutes

nhawk 09-26-2013 10:07 AM

Quote:

Originally Posted by Easy5s.net (Post 2448032)
Yes, i have set like, but it not run as cron time. It is usually delay 1 to 2 minutes, sometimes more than 10 minutes

That is because they aren't cron tasks in the sense that they run at a given time without any other trigger. vB's scheduled tasks only run when someone visits your site. And they run in a given order, so your task won't run until all tasks ahead of it have been completed. This can take hours on some sites. So, all tasks can be delayed.

CAG CheechDogg 09-28-2013 01:53 AM

Yikes! running those scheduled tasks could lead to trouble with your host, if you are on a shared hosting plan you are only allowed 25 process if that, having something like this every minute will definitely make your host shut you down quick.

Easy5s.net 09-28-2013 11:45 PM

I use dedicated servers and I needed such a cron

tbworld 09-29-2013 12:16 AM

It might take me some time but there is several posts here -- I think -- on how to use your OS to run cron jobs. I run my vb cron jobs via the OS, but my setup won't help you unfortunately.

Maybe someone else knows where these posts are. I put you on my backlog and will do a bit of research for you later.

CAG CheechDogg 09-29-2013 12:33 AM

Quote:

Originally Posted by Easy5s.net (Post 2448689)
I use dedicated servers and I needed such a cron

Well, what is the cron job supposed to do? Are you using cPanel?

Lynne 09-29-2013 12:43 AM

Can you write an actual cron job to do what you want?


All times are GMT. The time now is 02:38 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.01330 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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