Page 1 of 2

Cron job don't accept certain characters

Posted: 10 Oct 2013, 15:51
by Pipisauto
Hello.
I am using a free web host and when I try to create a crib job to update the feed there are some characters that are not accepted. After the word 'update.php the symbols "--" are not accepted. And if I try to include them appear error.
Can you indicate what to do?

Thanks


Sent from my iPhone using Tapatalk - now Free

Re: Cron job don't accept certain characters

Posted: 10 Oct 2013, 16:38
by pahles
Maybe you can provide us with the exact command you're trying to feed to cron? You can't expect us to know what you are not showing us... :roll:

Re: Cron job don't accept certain characters

Posted: 10 Oct 2013, 16:55
by fox
crib job in da hood

Re: Cron job don't accept certain characters

Posted: 10 Oct 2013, 17:15
by sleeper_service
Pipisauto wrote:Can you indicate what to do?


talk to your free web host people and ask them what to do.... not us.

Re: Cron job don't accept certain characters

Posted: 10 Oct 2013, 17:26
by blainemono
or rather holla @ your homies, dem need 2 learn respect nigga

Re: Cron job don't accept certain characters

Posted: 10 Oct 2013, 22:26
by davidm
This is a subforum intended precisely to ask about this. That's why it's called "UNSUPPORTED". People that post here know that they might not get any response, and that any response is kindness from people who maybe has had the same problem.

Pipisauto, it might be that your hosting doesn't allow you to enter commands in cron jobs, only URLs. You can use the URL in this page:
http://tt-rss.org/redmine/projects/tt-r ... dsObsolete

Edit: I see that the thread was moved from Support forum. Ok, the guy didn't read the description.

Re: Cron job don't accept certain characters

Posted: 10 Oct 2013, 23:51
by Pipisauto
Thanks for your answers....

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 00:03
by Pipisauto
Hello,

I try with the suggested solution but still I receive the same error:

Image

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 01:10
by hrk
If the problem is with cron, just write your own "myUpdate.sh" file containing the full path and commandline to update tt-rss, then just put myUpdate.sh in cron and you're done.

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 11:16
by SkyRE
Why you didn't put that command in script and calls him from cron?

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 12:54
by Pipisauto
Hello,

I am new with this terms, thanks for your help.....

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 16:54
by dxbi
Something that calls itself cron, but will only accept php scripts. "Awesome".

Create a text file, call it "myhostersucks.php" and put the following in it:

Code: Select all

<?php
system('php ./update.php --quiet --feeds');


Upload the file to /home/u407721832 and set the "Command to run" thing to "myhostersucks.php".

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 17:43
by Pipisauto
Hello,

Thanks Dxbi for your explanation, I will try....

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 22:45
by Pipisauto
Hello,

Sorry for insist but I still receive errors, I created with notepad the php file that you suggested me: see below

I put it in the folder where the tt-rss is located:

Image


And then, in the free host I created a cronjob, then if I open the cronjob output appear an error:
Image

Re: Cron job don't accept certain characters

Posted: 11 Oct 2013, 23:07
by sleeper_service
you really need to take this up with your host provider, it's *not* a ttrss problem.