Fork CMS Documentation


Open source CMS that will rock your world

  • Installation
  • Getting started
  • User guide
  • Theming guide
  • Module guide
    • Introduction
    • Applications and library
    • Routing
    • Modeling your module
    • Writing your module
    • Blocks and widgets
    • Templates
    • Translations or locale
    • Forms
    • Data grids
    • Generate thumbnails based on folder
    • Javascript
    • Ajax
    • Passing data from php to javascript
    • Cronjobs
    • Module settings
    • Pagination
    • Meta data and seo
    • Breadcrumbs
    • Tags
    • Search
    • Creating frontend widgets
    • Events publish and subscribe
    • Creating an installer
    • Creating a module zip file
    • Twittercards
    • Symfony form file
    • Symfony form image
  • Contribute
  • Media library
Edit on Github

Cronjobs

If a certain action needs to be executed at a certain interval (ones a day, hour, …) you'll be defining a cronjob. We used to have a special type of action for this but that has been removed. You should create a symfony console command instead

How to run a console command as a cronjob

Configuring cronjobs

  • ← Passing data from php to javascript
  • → Module settings
© 2023. Fork CMS is proudly open-source software.
  • Fork CMS
  • Github
  • Slack
  • Twitter