Monday, January 16, 2012

[YouTube-API] Script in browser works, but hangs as a cronjob

In a cronjob file (written in Php) I have the following two lines:

require_once ('Zend/Loader.php'); // the Zend dir must be in your include_path

Zend_Loader::loadClass('Zend_Gdata_YouTube');

When I run the file in a browser everything works fine. But when I use it for a cronjob the script hangs on the second line. I don't see the problem, but hopefully somenone here does

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/fvGth_QcQycJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment