Loading...
 

Cron


"Cron is a time-based job scheduler in Unix-like computer operating systems. The name cron comes from the word "chronos", Greek for "time". Cron enables users to schedule jobs (commands or shell scripts) to run periodically at certain times or dates"
http://en.wikipedia.org/wiki/Cron


Tiki doesn't require the use of cron, even if starting in Tiki5, it is possible to use cron jobs to offload some work.

To manage cron jobs in Tiki, please see: Scheduler.

Web Cron

Starting in Tiki17, it's possible to trigger Web Cron like Easycron.com from a URL or JavaScript.

Click to expand
Click to expand


Changing tracker item status

In Tiki6, tracker item status can be changed after a period of inactivity, etc. See
http://doc.tiki.org/Batch#Trackers

Email sending from Newslettters

Using tiki-bach_send_newsletter.php

See Newsletters and
http://doc.tiki.org/Newsletter+User#Sending_newsletters_with_a_cron_batch_job

Updating advanced rating

Using a custom php script as described in
http://doc.tiki.org/Advanced+Rating#Appendix

See Calculations

In Tiki9 there is a shell script for use in cron tasks etc for search index maintenance, with a line like:

In Tiki 9
Copy to clipboard
30 2 * * * cd path_to_tiki/; php lib/search/shell.php rebuild;sh setup.sh -n

In Tiki 12
Copy to clipboard
30 2 * * * cd path_to_tiki/; php console.php index:rebuild --log

This will run the command at 2:30 a.m.

See also: Cron Job to Rebuild Search Index

Note:
Keep in mind that some webhosts don't allow you set up a cron, and that's why Tiki9 is expected to include another system to manage cronjob calls in a Tiki site, in order to allow cron jobs in external servers with a special security token.

Alternatively, you can use an online cron job third-party service such as EasyCron: https://web.archive.org/web/20160910095003/https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-tiki-newsletters

Email sending from Daily reports

Using tiki-user_send_reports.php

See Daily reports

Email sending through a mail queue

Using console.php

See Mail Queue

Related:

alias

Cron jobs | Cron tabs | Cronjobs | Crontabs | Cronjob | Crontab

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki