ahmet you should be returning here :)
echo $api->get_json($aCronStatus);