Plugin install,php
From Jomres v4 manual
This is an example of a third party plugin's database installation commands. As it's a dummy we don't really want to insert the cron job or tables so they're commented out in the plugin.
If you need to configure some cron like activity, then use the following
$cron = new jomres_cron($displayLog); $cron->addJob("dummy_third_party_plugin","M","");
This functionality "registers" the cron job with the pseudocron functionality, and the intervals are as follows.
"M": // Every minute "H": // Every hour "D": // Every day "W": // Every week
You would use something like the following to create your plugin's tables, if you need them.
$query = "CREATE TABLE IF NOT EXISTS `#__jomres_thirdpartyplugin_dummy_third_party_plugin` ( id int(10) NOT NULL auto_increment, PRIMARY KEY (id) )"; doInsertSql($query,"");

