How to enable the system scheduler in v11

Post

Posted
Rating:
#9640 (In Topic #3401)
Avatar
Standard member
Malatesa is in the usergroup ‘Well-settled’
How do you enable the System Scheduler in v11?
Online now: No Back to the top

Post

Posted
Rating:
#9642
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
Hello.

It's basically the same as version 10. You set up a Cron job to run every minute (although every 5 minutes will work too if you want to save on resources). Ideally you call PHP cli directly to run data/cron_bridge.php . But if that's not available, or your cli PHP version is older than your web PHP version, you can call data/cron_bridge.php as a web request (but be aware this could result in timeouts).

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#9819
Avatar
Standard member
Malatesa is in the usergroup ‘Well-settled’
Would you say this looks correct, or is this incorrect?

Capture.PNG
Online now: No Back to the top

Post

Posted
Rating:
#9821
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
That does not look correct to me. data/cron_bridge.php is not an executable. It's a script, so you need to call PHP and pass in data/cron_bridge.php as an argument.

E.g. /path/to/php data/cron_bridge.php

Come control panels allow you to select a Cron as a PHP command. If that's the case and you chose PHP command/script, then you don't need to add PHP into the command.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Patrick Schmalstig)
#9830
Avatar
Site staff
Adam Edington is in the usergroup ‘Super-moderators’
Hi Malatesa. Opening up data/cron_bridge.php?querymode=1 in your browser should reveal what you require, Just don't access the file directly without the query string otherwise Composr will think it's working when it's not. Been there, done that.
Online now: No Back to the top

Post

Posted
Rating:
#9831
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
In alpha2, there will be a couple new warnings on the scheduler hooks page which will pop up if Composr believes something is wrong with them. I noticed sometimes it isn't clear enough to the admin when they are stuck.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,051 topics, 7,194 posts, 10,824 members
  • Our newest member is gracenayjanjoh
Birthdays:
Back to Top