Site.pro
  • AI Website Builder
    • AI Website Builder
    • Prices
    • Online Stores
    • Collaboration
    • Website Import
    • Plugins
    • Website Builder
    • Templates
    • For Design Studios
    • Useful Links
    • Affiliate Program
    • We Build for You
    • Examples
    • Languages
  • Domains
    • Register Domain Name
    • Migrate Domains
    • For Domain Investors
    • Domain Zones
    • Domainity
    • FAQ: Domains
    • Popular Domain Zones
    • .com
    • .org
    • .net
    • .us
    • .co
  • Email
    • Free Email
    • Email for Business
    • Prices
    • Transfer Emails
    • Custom Domain Email
    • FAQ: Email
    • Popular FAQs
    • Email Setup
    • Auto Reply
    • Auto Forwarding
    • Spam Protection
  • Accounting Software
    • Accounting Software
    • Modules
    • Prices
    • Integrations, API
    • Accounting companies (378)
    • Software integrators (52)
    • Affiliate Partners
    • Useful Links
    • Business Types
    • Use Cases
    • Accounting companies
    • Sole Proprietor
    • Invoicing
    • Farmer
    • E-commerce
  • For Resellers
    • Prices
    • White Label
    • Revenue Share
    • Panels
    • How it Works
    • Marketing Materials
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Learn
    • Knowledge Base
    • Blog
    • Growth Hacking
    • For Hostings
    • For Education
    • Teaching Institutions (68)
    • Accounting Courses Worldwide
  • Member Area
    • My Websites
    • My Licenses
    • Affiliate Program
    • Support
    • Statistics
    • Profile
    • Billing details
  • AI Website Builder
    • AI Website BuilderAI creates websites for you
    • PricesAdvanced Features
    • Online StoresBuild online stores
    • CollaborationCo-create websites live
    • Website ImportImport Any Website
    • PluginsBuilder plugin and functions
    • Website BuilderKey Features
    • Templates200+ Awesome Templates
    • For Design StudiosBenefits for Design Studios
    • Useful Links
    • Affiliate Program
    • We Build for You
    • Examples
    • Languages
  • Domains
    • Register Domain NameDomain registration, parking, transfer
    • Migrate DomainsTransfer. Connect. Renew
    • For Domain InvestorsDiscount on all domains
    • Domain ZonesBuy New Domain Name
    • DomainityDomain usage by country
    • FAQ: DomainsFind Answer
    • Popular Domain Zones
    • .com
    • .org
    • .net
    • .us
    • .co
  • Email
    • Free EmailCreate email
    • Email for BusinessAdvanced features & protection
    • PricesCheap email hosting
    • Transfer EmailsMigrate your mailboxes
    • Custom Domain EmailEmail address with your domain
    • FAQ: EmailFind Answer
    • Popular FAQs
    • Email Setup
    • Auto Reply
    • Auto Forwarding
    • Spam Protection
  • Accounting Software
    • Accounting SoftwareCloud based ERP
    • ModulesMain accounting software modules
    • Prices30 days free trial
    • Integrations, APIIntegration with external systems
    • Accounting companies (378)Choose your partner for accounting
    • Software integrators (52)Pick your integrations partner
    • Affiliate PartnersPartners and Affiliate program
    • Useful LinksCalculators and Calendars
    • Business TypesUse Cases
    • Use Cases
    • Accounting companies
    • Sole Proprietor
    • Invoicing
    • Farmer
    • E-commerce
  • For ResellersWhite Label
    • PricesRevenue Share. White Label
    • White LabelCustomise Builder
    • Revenue ShareEarn 50% from each upgrade
    • PanelsOne product for all platforms
    • How it WorksCloud or On-Premises
    • Marketing MaterialsVideo. Mockups. Blocks
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Learn
    • Knowledge BaseFAQ: Builder, Accounting
    • BlogSite.pro Blog
    • Growth HackingBoost your sales
    • For HostingsTips on marketing
    • For EducationTraining. Tutorials
    • Teaching Institutions (68)
    • Accounting Courses Worldwide
  • Member Area
    • My WebsitesManage websites, domains, emails
    • My LicensesStart reselling. Configure builder
    • Affiliate ProgramAffiliate Program. Dashboard
    • SupportTechnical support
    • Statistics
    • Profile
    • Billing details
  • Register
    By proceeding, you accept our Terms of Service and Privacy Policy
  • Log in

    Log in

    New user? Create account
    Forgot password?
  • $
  • English
Server Requirements
  • Published websites
  • Site.pro IPs
Builder installation / update
On-Premises
  • Server Requirements
  • Installation
  • CRON
  • Update
  • Migration to version v4
  • Collaboration Service
  • Extra configuration
  • Manual update
  • Changing PHP version
  • Support
Plugin installation
  • Hosting Panel
    • cPanel
    • DirectAdmin
    • Plesk
    • Sentora/ZPanel
    • ISPmanager
    • InterWorx
    • Vesta
    • Hosting Controller
    • CentOS Web Panel
    • Hestia
    • LiveConfig
    • Webuzo
    • Custom hosting (API)
  • Billing Panel
    • WHMCS
    • Blesta
    • Upmind
    • Custom billing (API)
API documentation
  • Builder
    • Create session (SSO)
    • Remove existing session
    • Create website backup
    • Restore website backup
  • Templates
    • List template categories
    • List template category tags
    • List templates
    • Get page types available in templates
  • Import
    • Import website
    • Get website import status
    • Import website block
    • Get website block import status
    • Check if imported website is owned by user
  • Websites
    • Create website
    • Modify website
    • Rename website
    • Publish website
    • Edit website pages
    • Edit website settings
    • Delete website
    • Get website template
    • Get website pages
    • Get website variables
    • Get template variables
    • Get website settings
    • Add pages to website
    • Duplicate pages in website
    • Remove pages from website
  • Website Blocks
    • Create empty website
    • Modify website
    • Inspect website
    • Add empty page
    • Modify page
    • Remove page
    • Inspect page
    • Inspect composition
    • Modification descriptor structure by element type
    • Add blocks from compositions
    • Remove blocks
    • Move blocks
    • Modify blocks
    • Inspect block
  • Licenses
    • Get list of published websites
    • Get statistics of publications/openings
    • Block/unblock published website
    • Controlling IP list
    • Read/add/delete hosting plans
  • Integration with your system
    • Allow/disallow domain in builder
    • Check if domains are allowed in builder
  • FAQ
    • Get posts
    • Get categories
Add-ons documentation
  • For Website
    • Public demo URL
    • Editing plans
    • User registration from public demo
    • Website import
    • Generate with AI
  • For Builder
    • Adding custom templates
    • Adding custom builder plugins
    • Scripts
For developers
  • Programming reference
  • Directory structure
  • Meta information (main.json)
  • Frontend logic (main.js)
  • Element template (main.html)
  • Backend logic (main.php)
  • Plugin testing
  • Custom element plugin
  • E-commerce plugin
  • Overriding UI
  • Other examples
Change Log
Builder installation / update

CRON On-Premises

Reference:

  • Setting up cron on a hosting panel
  • Setting up cron through server console
  • Troubleshooting

Currently CRON includes the following tasks:

  • builder update (run once per day) — This cron task keeps builder always up-to-date.
  • temporary/old files cleanup (run twice per day) — during builder work it accumulates some garbage (temporary/old files) which can take a lot of space with time. This cron task keeps builder clean and space optimized.
  • free disk space checking (run every 5 minutes) — This cron task checks free disk space the builder is running on. Once the disk is full it disables builder and shows corresponding message for clients. This is important because during lack of free space builder can work unpredictably and even damage clients' site data used by builder. We recommend to sometimes check free disk space on builder server and ensure that there are at least 2 GB available.

Setting up cron on a hosting panel

When on-premises builder is installed on account of hosting control panel, then cron should be set up by following steps:

on cPanel:

  • log in to cPanel account with the builder installation;
  • navigate to "Cron Jobs";
  • for "Common Settings" field select value "Once Per Minute";
  • for "Command" field specify the following value:
    cd /home/[user]/public_html && /usr/local/bin/ea-php81 cron.php
    where correct the path if needed, replace placeholder [user] and replace "81" PHP version to the one your builder is running on;
  • click button "Add New Cron Job" to save new cron task.

on Plesk:

  • log in to Plesk account with the builder installation;
  • click "Scheduled Tasks" button;
  • click "Add Task" button;
  • select "Run a PHP script" option;
  • for "Script path" click browse button right to the input field, find the file "cron.php" in builder installation and click "OK";
  • select the PHP version your builder is running on;
  • click "OK" button to save new cron task.

on DirectAdmin:

  • log in to DirectAdmin account with the builder installation;
  • navigate to "Advanced Features" → "Cron Jobs"
  • click "Create Cron Job" button;
  • for fields minute, hour, day of month, month, day of week keep the asterisk symbol *;
  • for "Command" field specify the following value:
    cd /home/[user]/domains/[domain]/public_html && php cron.php
    where correct the path if needed, and replace placeholders [user] and [domain] to yours;
  • click "Create" button to save new cron task.

on ISPmanager:

  • log in to ISPmanager account with the builder installation;
  • navigate to "CRON jobs" menu item;
  • click button "Create plan";
  • for "Command" field specify the following value:
    cd /var/www/[user]/data/www/[domain] && /opt/php81/bin/php cron.php
    where correct the path if needed, replace placeholders [user] and [domain], and replace "81" PHP version to the one your builder is running on;
  • choose "expert mode" option;
  • for fields Minute, Hours, Days of month, Months, Days of week enter the asterisk symbol *;
  • optionally check "Do not email report" option;
  • click "Create" button to save new cron task.

Setting up cron through server console

  • run command crontab -e to open cron editor;
  • append this line at the end:
    * * * * * cd /var/www/html && php cron.php
    where correct the path if needed and replace "php" if needed to the correct version the builder is running on;
  • save new cron task.

Despite the fact CRON does not execute tasks every minute, it is still important to setup it to run every minute anyways. If cron.php is executed and no task is taken that exact minute then the script stops. This ensures cron mechanism performance optimization.

© Site.pro 2011. Website Builder. United States.
Contact SalesTerms of ServicePrivacy Policy