I haven't tested it, but looking at the code in admincp/cronadmin.php for running a scheduled task, I think this might work:
PHP Code:
if ($nextitem = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "cron WHERE cronid = " . $cronid))
{
ignore_user_abort(1);
@set_time_limit(0);
require_once(DIR . '/includes/functions_cron.php');
include_once(DIR . '/' . $nextitem['filename']);
}
where $cronid would have to be set to the id of the task before the above code is executed.
I don't know, you may or may not want the ignore_user_abort and/or the set_time_limit calls in your plugin.