2 use \Friendica\Core\Config;
4 function cronjobs_run(&$argv, &$argc){
7 require_once('include/datetime.php');
8 require_once('include/ostatus.php');
9 require_once('include/post_update.php');
10 require_once('mod/nodeinfo.php');
12 // No parameter set? So return
16 // Check OStatus conversations
17 // Check only conversations with mentions (for a longer time)
18 if ($argv[1] == 'ostatus_mentions') {
19 ostatus::check_conversations(true);
23 // Check every conversation
24 if ($argv[1] == 'ostatus_conversations') {
25 ostatus::check_conversations(false);
29 // Call possible post update functions
30 // see include/post_update.php for more details
31 if ($argv[1] == 'post_update') {
36 // update nodeinfo data
37 if ($argv[1] == 'nodeinfo') {