Categories
- Other Topics
- inc/settings.php
- inc/config.php
- What is MyBB
- Warning System
- Using FTP
- Usergroups
- User Groups
- User Created Modules
- Upload Files
- Upgrate
- Upgrading
- UTF8 setup
- Tutorials
- Translations
- Subscriptions
- Smilies
- Simple Select
- SEF URLs
- Running the Merge System
- Resource Sites
- Requirements
- Reputation
- Referrers
- Referrals
- Private Message
- Postbit
- Polls
- Performance
- Obtaining MyBB
- MyCode
- MyBB Wiki:Contents
- MyBB Team
- MyBB
- Multiquote
- Modules
- Module Permissions
- Module Navigation
- Modifications
- Moderating Options
- Merge Wizard
- Merge System
- License (Pre 1.4.1)
- License (Pre 1.1.8)
- License
- Introduction
- Installing
- Installer
- Install
- Images
- How to clear your cookies
- HowTo Chmod
- Glossary
- Free never tasted so good
- Fetch Field
- Features
- FAQ/RC4
- FAQ/1.0
- FAQ
- Documentation
- Developer Tools
- Customization
- Custom MyCode
- Cookies
- Cookie Settings
- Contribution Standards
- Coding Standards
- Chmod
- CHMOD Files
- Authoring Modules
- Attachments
- April Fools
- Anonymous Statistics
- MyBB
- General Help
- Where to get support
- Repair mybb_sessions
- Upload Directory
- Unknown location
- UTF BOM Mark
- UTF-8 Signature
- Theme problems
- Task System
- Support readme
- Support eligibility
- Support
- Settings.php Permission Denied
- No DB
- Mybb settings
- Mod security
- Latest News Bar
- Invisible User
- How to clear your cookies
- Gzip
- FAQ/RC4
- FAQ/1.0
- Editing
- Customizing postbit
- Contents
- Common SQL Errors
- Common Error Messages
- Change Logo
- Cannot logout
- Cannot login
- Blank index
- Acp language
- Common Problems/RC4
- Common Problems/1.0
- Common Problems
- Help Docs
- Plugins
- Templates
- User CP
- Extending MyBB
- Front End
- Development
- Database
- mybb_warningtypes
- mybb_warnings
- mybb_warninglevels
- mybb_usertitles
- mybb_users
- mybb_usergroups
- mybb_userfields
- mybb_threadsubscriptions
- mybb_threadsread
- mybb_threads
- mybb_threadratings
- mybb_threadprefixes
- mybb_themestylesheets
- mybb_themes
- mybb_templatesets
- mybb_templates
- mybb_templategroups
- mybb_tasks
- mybb_tasklog
- mybb_stats
- mybb_spiders
- mybb_smilies
- mybb_settings
- mybb_settinggroups
- mybb_sessions
- mybb_searchlog
- mybb_reputation
- mybb_reportedposts
- mybb_promotionlogs
- mybb_profilefields
- mybb_privatemessages
- mybb_posts
- mybb_pollvotes
- mybb_polls
- mybb_mycode
- mybb_modtools
- mybb_moderators
- mybb_moderatorlog
- mybb_mailqueue
- mybb_maillogs
- mybb_mailerrors
- mybb_joinrequests
- mybb_icons
- mybb_helpsessions
- mybb_helpsections
- mybb_helpdocs
- mybb_groupleaders
- mybb_forumsubscriptions
- mybb_forumsread
- mybb_forums
- mybb_forumpermissions
- mybb_favorites
- mybb_events
- mybb_delayedmoderation
- mybb_datacache
- mybb_captcha
- mybb_calendars
- mybb_calendarpermissions
- mybb_banned
- mybb_banfilters
- mybb_badwords
- mybb_awaitingactivation
- mybb_attachtypes
- mybb_attachments
- mybb_announcements
- mybb_adminviews
- mybb_adminsessions
- mybb_adminoptions
- mybb_adminlog
- Database Tables
- Database Restore
- Database Methods
- Database Constants
- Database Backup
- Database Tools
- Moderator CP
- Versions
- Versions
- RC4
- RC3
- RC2
- RC1
- PR2
- PR1
- MyBB 2.0.0
- MyBB 1.8.0
- MyBB 1.6.9
- MyBB 1.6.8
- MyBB 1.6.7
- MyBB 1.6.6
- MyBB 1.6.5
- MyBB 1.6.4
- MyBB 1.6.3
- MyBB 1.6.2
- MyBB 1.6.10
- MyBB 1.6.1
- MyBB 1.6.0
- MyBB 1.4.9
- MyBB 1.4.8
- MyBB 1.4.7
- MyBB 1.4.6
- MyBB 1.4.5
- MyBB 1.4.4
- MyBB 1.4.3
- MyBB 1.4.2
- MyBB 1.4.16
- MyBB 1.4.15
- MyBB 1.4.14
- MyBB 1.4.13
- MyBB 1.4.12
- MyBB 1.4.11
- MyBB 1.4.10
- MyBB 1.4.1
- MyBB 1.4.0
- MyBB 1.2.9
- MyBB 1.2.8
- MyBB 1.2.7
- MyBB 1.2.6
- MyBB 1.2.5
- MyBB 1.2.4
- MyBB 1.2.3
- MyBB 1.2.2
- MyBB 1.2.14
- MyBB 1.2.13
- MyBB 1.2.12
- MyBB 1.2.11
- MyBB 1.2.10
- MyBB 1.2.1
- MyBB 1.2.0
- MyBB 1.1.8
- MyBB 1.1.7
- MyBB 1.1.6
- MyBB 1.1.5
- MyBB 1.1.4
- MyBB 1.1.3
- MyBB 1.1.2
- MyBB 1.1.1
- MyBB 1.1.0
- MyBB 1.04
- MyBB 1.03
- MyBB 1.02
- MyBB 1.01
- MyBB 1.00
- DevBB
- Beta 4
- Admin CP
- Users Groups
- Users And Groups
- Users
- Usergroups
- User Warning Logs
- User Titles
- User Email Logs
- User Banning
- Tools
- Themes
- Templates Style
- Templates
- Task Manager
- System Mail Logs
- System Health
- Statistics And Logging
- Statistics
- Post Icons
- Plugin Manager
- Moderators
- Moderator Toolbox
- Moderation Queue
- Mod Logs
- Message Filters
- Mass Mail
- Maintenance
- Languages
- Home
- Groups
- Group Promotions
- Forums Posts
- Forum Management
- Forum Attachments
- Forum Announcements
- Config Word Filters
- Config Warning System
- Config Thread Prefixes
- Config Spiders
- Config Smilies
- Config Settings
- Config Profile Fields
- Config Post Icons
- Config Plugins
- Config MyCode
- Config Mod Tools
- Config Languages
- Config Help Docs
- Config Calendars
- Config Banning
- Config Attachments
- Config
- Cache Manager
- Board Settings
- Backups
- Attachments
- Admin Perms
- Admin Logs
- Admin CP
Task System
MyBB Tasks are PHP scripts run at set intervals which typically maintain your database and board, as well as perform tasks for some features, such as mass mail and group promotions.
The Task System, unless setup on a cron job, can only run when a user visits the front-end of your forum. In addition, other tasks might have priority and it will take a continual flow of visitors if your tasks are to run always on time.
To run tasks via a cron job, you must do the following:
- In the program you use to setup a cron job set it up with the times you want and set the path to (where x is the Task ID you want to run):
- php the/file/system/path/to/task.php x
- Make sure the task is disabled in the Admin CP. Enabling it via the Task interface in the Admin CP only tells MyBB to execute it via its own scheduling system. Having the task enabled and running it via a cron job would cause an overlap. The task, if called from a cron job, will run regardless of the status of it in the ACP as this only applies to MyBB's own systems.
You can also test the cron job by using PHP's CLI interface via the same way you set it up for the cron job. An example of this:
- php the/file/system/path/to/task.php x