Periodical Updating from Crontab

If you run tt-rss on an officially unsupported platform (shared hosting, Windows, etc.) post here
SOV
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 13 Jun 2014, 02:41

Periodical Updating from Crontab

Postby SOV » 13 Jun 2014, 04:06

Last edited by SOV on 13 Jun 2014, 08:14, edited 1 time in total.

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Periodical Updating from Crontab

Postby JustAMacUser » 13 Jun 2014, 06:15

Make sure the update.php file exists at the path specified. Make sure ownership and file permissions are set correctly.

SOV
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 13 Jun 2014, 02:41

Re: Periodical Updating from Crontab

Postby SOV » 13 Jun 2014, 06:28


charlie-tca
Bear Rating Trainee
Bear Rating Trainee
Posts: 32
Joined: 03 May 2013, 23:04
Contact:

Re: Periodical Updating from Crontab

Postby charlie-tca » 13 Jun 2014, 06:52

I could be wrong, but I think the path is wrong. Is "mydomain.com" really there, or is it supposed to be "mydomain"? On my own websites, even though the url includes .com , the path does not.

SOV
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 13 Jun 2014, 02:41

Re: Periodical Updating from Crontab

Postby SOV » 13 Jun 2014, 06:57


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Periodical Updating from Crontab

Postby JustAMacUser » 13 Jun 2014, 07:11


SOV
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 13 Jun 2014, 02:41

Re: Periodical Updating from Crontab

Postby SOV » 13 Jun 2014, 07:20


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Periodical Updating from Crontab

Postby JustAMacUser » 13 Jun 2014, 07:37

I have previously used DreamHost and I'm not sure I'm following what you're saying with users. You create a user, then when you add a domain you add it to a specific user. You login with that user to manage the domains added to it. (Unless you're doing what DreamHost calls "advance" user setups where you create groups, etc. to allow multiple users access.)

Either way, login as the actual owner of the file, then run the command. If it works, great. Then you simply create a cronjob for the user who owns the file.

A bash shell is fine.

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Periodical Updating from Crontab

Postby JustAMacUser » 13 Jun 2014, 07:43

Also, .php files don't need the executable flag and, quite honestly, they should not have it. Permissions of 600 (rw-------) or 640 (rw-r-----) should be fine. With shared hosting, you might need to use 644 (rw-r--r--). But try them in the order I've listed them and stop when one works.

SOV
Bear Rating Trainee
Bear Rating Trainee
Posts: 15
Joined: 13 Jun 2014, 02:41

Re: Periodical Updating from Crontab

Postby SOV » 13 Jun 2014, 07:48


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Periodical Updating from Crontab

Postby JustAMacUser » 13 Jun 2014, 08:24

You're welcome. Glad it works.


Return to “Unsupported platforms”

Who is online

Users browsing this forum: No registered users and 2 guests