S
S
Sergi0Limit2016-06-13 10:57:36
Classmates
Sergi0Limit, 2016-06-13 10:57:36

Is it possible to execute an action Controller in Joomla 3 via cron?

Good afternoon.
How can you execute an Action in a Joomla Controller?
The task is this, there is a Controller component in it there is an Action that performs some kind of long-term action.
This action must be performed periodically, for this there is a cron mechanism in * nix.
Problem 1 : how to run the url from cron
- here it is probably possible through curl, but I'm not sure yet.
And problem 2 , the main one: how to pass Joomla authorization in order to execute an Action? Or how to disable it for execution from cron.
Action calls logic from the model, which in turn uses other models. Moving from Joomla code to Native Php is problematic.
Maybe I'm looking at the solution from the wrong angle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2015-10-23
@TaunT

https://www.sslshopper.com/ssl-checker.html checker says everything is ok?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question