hola, probe poniendole la ruta completa al require_once().... osea
en este caso deseo abrir la libreria phpmailer:
//ADJUNTAMOS LA CLASE DE PHPMAILER
require("http://www.jcrosalesodontologos.pe/pruebas/includes/phpmailer.php");
y cuando ejecuto el cron job me sale este error:
Warning: require(): URL file-access is disabled in the server configuration in /home/jcrosale/public_html/pruebas/crons/cron_alerta.php on line 7
Warning: require(
http://www.jcrosalesodontologos.pe/p...hpmailer.php): failed to open stream: no suitable wrapper could be found in /home/jcrosale/public_html/pruebas/crons/cron_alerta.php on line 7
Fatal error: require(): Failed opening required 'http://www.jcrosalesodontologos.pe/pruebas/includes/phpmailer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jcrosale/public_html/pruebas/crons/cron_alerta.php on line 7