|
I'm still have problem with cron job. Twittercast can post to twitter by open twittercast.php via browser.
I user several format :
wget -O /dev/null http://u.klikhost.com/twittercast/twittercast.php
--2013-03-09 18:40:50-- http://u.klikhost.com/twittercast/twittercast.php
Resolving u.klikhost.com... 199.167.134.163
Connecting to u.klikhost.com|199.167.134.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'
[ <=> ] 425 647B/s in 0.7s
2013-03-09 18:40:51 (647 B/s) - `/dev/null' saved [425] ==> nothing happen to twitter. From cron job also nothing happen.
php -q /home/uklikhos/public_html/twittercast/twittercast.php
<!-- shows example of what is being sent to twitter on html page. //-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="30">
<title>RadioLokal.com - 0</title></head> <==== Sent this to twitter, just this, no any song title.
<body><center>
I have rename file permission title.txt to 755, but still work from cron job.
|