grantus
Active member
I'm inserting a cron job like this:
But when I look at the entries in the admincp, in the list it shows "cron_entry.fight256" (256 is correct). When I click it and view the entry, the title is empty. Where is the title stored? Because there's no title column in the xf_cron_entry table.
Code:
$updateFight = $db->insert('xf_cron_entry',
[
'entry_id' => 'fight' . $newBattleId,
'cron_class' => 'Battles\ILL\Cron\Fights',
'cron_method' => 'fightInsert',
'run_rules' => '{"day_type":"dom","dom":[22],"hours":[15],"minutes":[17],"battle":[' . $newBattleId . ']}',
'active' => 1,
'next_run' => 1726838148,
'addon_id' => 'Battles/ILL'
]
);
But when I look at the entries in the admincp, in the list it shows "cron_entry.fight256" (256 is correct). When I click it and view the entry, the title is empty. Where is the title stored? Because there's no title column in the xf_cron_entry table.