I get no output from my cronjob. The script the job is executing is:
<?php
require '/opt/bitnami/apps/wordpress/htdocs/wp-load.php';
include('/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/yeelloe/scheduler.php');
?>
The scheduler code is:
<?php
//get the wp-load in for the wordpress functions
$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
require_once( $parse_uri[0] . 'wp-load.php' );
//now try calling template function
CheckFunction();
?>
I get no output? The job is to automate social media posts but this doesn't work either.
Any ideas?