getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Plugin overrides are not taken into account with scheduler #122

Closed arkhi closed 1 year ago

arkhi commented 4 years ago

Hello,

Based on the plugin overrides section of Grav, I think there is an issue. I checked a few times but I can’t see a problem on my side.

The only hiccup I have is the scheduler keeps on telling “ Cron Not Available” in the admin (/admin/tools/scheduler), although a bin/grav scheduler -i gives me:

Install Scheduler
=================

 [OK] All Ready! You have already set up Grav's Scheduler in your crontab                                                                                                                                     

 ! [NOTE] To install, run the following command from your terminal:                                                     

 (crontab -l; echo "* * * * * cd /vagrant;/usr/bin/php7.2 bin/grav scheduler 1>> /dev/null 2>&1") | crontab -

If anyone can give it a try and confirm (and fix :) ) or infirm, that’d be great, thanks!

arkhi commented 4 years ago

One more detail: The environment is running within a vagrant box. Don’t know if that should make a difference from Grav’s point of view.

mahagr commented 4 years ago

Yes, the configuration is saved locally to the site you're using. Currently, there is no way to modify the main configuration unless you're running the site using it.

arkhi commented 4 years ago

Shouldn’t the local configuration be taken into account when running the local version if no global configuration exists?