|
|
|
jcron and plugin 1 Year, 6 Months ago
|
|
|
hi
I would like to use jcron to launch a synchronisation between Joomla! and another software by using a plugin. There's only one thing I don't find either on Joomla! Doc or here, is about the trigger. In which event do I need to put my code to execute on the plugin ? I see in jcron.php that you can expect something like group.plugin.event, but how do I test the event to execute only at the cron call ?
I hope my explanations are clear enough, and sorry for the bad english
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:jcron and plugin 1 Year, 6 Months ago
|
|
|
Hi there! Instead of modifying JCRon, have you tried setting up a cron command and create the execution script separately?
I am not sure if i got it right however, are you trying to modify the JCron plugin or a general Joomla plugin?
Ovidiu
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:jcron and plugin 1 Year, 6 Months ago
|
|
|
Hi
I just found out what I wanted; actually I didn't understand that you had to enter "plugingroup.eventname" in "command to run" (it is written, I read it, but understood something else).
Anyway, I tested it with a custom joomla plugin, calling a custom event, and now it works perfectly !
thank you !
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:jcron and plugin 1 Year, 3 Months ago
|
|
|
Hi,
I am also using jcron. I don't know how to run the plugin from command to run option.
Anyone please let me know with the example.
Basically I have written my own mail sender php program, I wanted to call it periodically.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|