[PHP] Re: Cron running 'Hello world' script dies with Could not startup.
On Wed, 09 Aug 2006 11:14:11 +0100, Colin Guthrie wrote: Ivo F.A.C. Fokkema wrote: SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure about other distros. Thanks guys, for all of your suggestions! Ahh it probably *needs* an X Server to work properly. I'll bet if you logged into your machine via SSH or the console without beign logged into a graphical env. that it would also fail. Bingo! You're absolutely right. I copied my php.ini to one that includes the module again, and when using that ini I can still run a 'Hello world' script through the console, but NOT when logged in through ssh from another machine. Good thinking! Well found tho', this would seem like a bug in the GTK stuff tho'. I'll file a bug against this behaviour upstream :) Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Cron running 'Hello world' script dies with Could not startup.
Ivo F.A.C. Fokkema wrote: SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure about other distros. Thanks guys, for all of your suggestions! Ahh it probably *needs* an X Server to work properly. I'll bet if you logged into your machine via SSH or the console without beign logged into a graphical env. that it would also fail. Well found tho', this would seem like a bug in the GTK stuff tho'. Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: cron via cPanel
tedd wrote: Hi gang: In cPanel one can schedule cron jobs. In the command line box, what command do you enter to run a php script? Thanks. tedd wget --spider http://www.url.com/blahblah.php -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Cron Jobs and php as apache module
[EMAIL PROTECTED] (Daryl Meese) wrote in news:[EMAIL PROTECTED]: Hello all, Ok, I run php as an apache module but need to have some php scripts called from a cron. Since you can't have php installed as a cgi apache module I don't know how to do this. Any help would be appreciated. TIA Daryl Meese Depending on the version of php you have, you may find you have a cli version of php installed - possibly /usr/local/bin/php. Alternatively, it _is_ possible to have both module and cgi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Cron Job help Needed
On Wed, Feb 19, 2003 at 03:36:33PM -0500, Pushpinder Singh Garcha wrote: I need to ask you about some resources for cron jobs. Please suggest some online help This isn't really a PHP thing. But you can always read man pages, the documentation that comes with every unix-style operating system. For starters, check: http://www.freebsd.org/cgi/man.cgi?query=cron http://www.freebsd.org/cgi/man.cgi?query=crontab http://www.freebsd.org/cgi/man.cgi?query=crontabsektion=5 Man pages for operating systems other than FreeBSD are also available via that web interface, in case you need details which are operating system specific. (And if you don't know, you probably don't need 'em.) Most likely you will need unix shell access to set up and maintain your cron jobs. Your local unix system administrator (or consultant) can help with that. -- Paul Chvostek [EMAIL PROTECTED] Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: CRON?
Well, if you really wanted to, you could create a php script, and then have a meta refresh tag set to refresh the page whenever you want, and then just leave the page open in your browser :p Nicole [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone have a PHP script to enter cron jobs? I have a limited control panel (ensim) that doesn't have anyway to do cron, and I don't know how to do it at the command line yet. Anyone have a good tutorial or a PHP script to do this? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: CRON?
LOL. Thanks; that's ok. ;) That wouldn't cut it, I'm afraid. ;) Alex [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, if you really wanted to, you could create a php script, and then have a meta refresh tag set to refresh the page whenever you want, and then just leave the page open in your browser :p Nicole [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone have a PHP script to enter cron jobs? I have a limited control panel (ensim) that doesn't have anyway to do cron, and I don't know how to do it at the command line yet. Anyone have a good tutorial or a PHP script to do this? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: CRON JOB
*/1 * * * * val /usr/local/bin/lynx -source http://php.net/crontab/steward.php - example of how to call script every minute -- Sincerely, val petruchek Maas [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What do I have to do before I can run my file.php as a cron job in Linux? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php