Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2010, 03:29 AM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Cron

I am new to this and trying to get a handle on CRON. I understand that it is a task scheduler, my question is can I use this to do a weekly backup of my website and how do I do this?

I also noticed that my host has CRON on the admin control panel, it is a point and click to set up the day/month etc, then it has a blank for the command I want to run, the problem is I don't know what command to put in there.

I would also like to run a command to delete backups that are over 1 month old if possible.

Also as a newbie are there any other tasks I should consider automating with CRON.

also can anyone point me to a good website describing these things in not too technospeak.

thanks
Reply With Quote
  #2  
Old 02-21-2010, 09:32 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The vbulletin cron system, and the cpanel cron are two completely different things, to which are you referring here ?
Reply With Quote
  #3  
Old 02-21-2010, 01:18 PM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't realize that, does the vb cron just call vb related tasks? and if so is their any documentation on how to use it for vb? also what are the most common tasks that people set up?
Reply With Quote
  #4  
Old 02-21-2010, 01:47 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

take a look in your admin panel

Scheduled Tasks > Scheduled Task manager >

There you can see the vb cron tasks, and theres also a button that allows you to add your own, IF your really need to.

Cron is just another way of putting Scheduled Tasks,
and if you want backups via cron, and your WEBSITE have that option use that instead
cause that would proberly also backup all your files etc..

while vbcron you can get to backup your database.

but most common use, is keeping rss feeds updated, keeping threads,posts,and other various lists up to date.
Reply With Quote
  #5  
Old 02-21-2010, 09:17 PM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay thanks, so you are saying use my host's cron for website and database backup then use vb's to update rss feeds etc.

thank you very much I am learning as I go.
Reply With Quote
  #6  
Old 02-23-2010, 09:33 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alaska_av8r View Post
okay thanks, so you are saying use my host's cron for website and database backup then use vb's to update rss feeds etc.

thank you very much I am learning as I go.
Well i know the above guy "paul m, dr pebber addict" he makes a mod
that backs up your sQL database via vbulletin cron, a lovely tool
Reply With Quote
  #7  
Old 02-23-2010, 12:38 PM
alaska_av8r alaska_av8r is offline
 
Join Date: Dec 2009
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh wow, he didn't mention the backup tool, I will have to look for that.

Its a steep learning curve setting up this site and learning all the features, I thought I was at the "I am learning how to do that stage" but realize everyday that I am at the "Oh I didn't know I needed to do that and what is it that it does" stage....lol

I think I have screwed up as much as I have set up, latest adventure I think I have scared away all the bots but thats another topic.

<--- also a dr pepper addict with one in my left hand and coffee in my right
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 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.04255 seconds
  • Memory Usage 2,213KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete