-
Notifications
You must be signed in to change notification settings - Fork 206
PHP-controlled CronJobs like Wordpress #1099
Comments
nice idea ! |
+10. Great stuff, thanks Deesen |
@Deesen check this: |
Thanks. And there are a lot of other scripts https://www.google.de/search?q=php+job+scheduler . Question is how to exactly implement a cronjobs-feature into Evo.
|
I'm not a cron expert, but i think we need to add two features
|
this a snippet based on AutoEvoBackup, we could use with cron (not tested).
you can call the page with parameters in url: |
www.domain.com/cron.html would need to be secured in some way. |
another way is a fakecron module, that runs the snippet ($modx->runSnippet) inside the manager |
i started to trying to convert phpjobscheduler to a evo module, but a lot of things still not working :) : |
I really like the idea of the "fake cron" module, so it can all be done within Evo, preferably in the current backup section so its all together. This would be more seamless and slicker and consistent with WordPress' ease of backup scheduling (with a WP plugin of course :) ). |
OK, i got a very alpha, but working phpjobscheduler "fake cron" module. :-) The package includes:
In this way we can run any snippet with Fake Crons I think is a nice starting point. Anyone want to try? Just install with Package Manager and try |
Awesome @Nicola1971, I cant wait to test it. Can I please ask a basic question? Up above you mentioned "Just install with Package Manager and try". |
'Is it this?' - Yes, just install from 'Extras' module. |
Beauty, thanks for confirming that @bossloper, I will give the depreciated Package manager a crack. Cheers |
Agree with @bossloper - for my way to work with Evo, Package Manager is the most important extra. I always work with custom packages: templates, sets of chunks, snippets and plugins. I've tried @Dmi3yy Install Manager, but cant get it work |
@Nicola1971 - getting an error as my MODX install is in a sub-directory. |
@bossloper yes, need more integration with modx api, for base path and manager path (actually does not support alternative manager folder names too) and requires hardcoded path to work in my windows wamp localhost, before more api integrations and any other improvements from this beta1 - i need to be sure that phpjobscheduler satisfy our needs for Evo |
https://github.com/WordPress/WordPress/blob/master/wp-cron.php
Related to issues
The text was updated successfully, but these errors were encountered: