Skip to main content

Cronjob

More
10 years 11 months ago #2334 by redactie
Replied by redactie on topic Re: Cronjob
url is niet ok
Code:
wget https://www.beginop.nl/administrator/components/com_datafeeds/cron/feedcron.php

Please Log in to join the conversation.

More
10 years 11 months ago - 10 years 11 months ago #2341 by Rene367
Replied by Rene367 on topic Re: Cronjob
i was too quick

get error /bin/sh: cd:: command not found

cd: /var/www/vhosts/beginop.nl/httpdocs/ticketservice/administrator/components/com_datafeeds/cron/feedcron.php‏


and with other approach

/usr/bin/wget www.beginop.nl/administrator/components/...s/cron/feedcron.php‏

Cannot write to `feedcron.php' (Permission denied).
could this last be because everything is already up to date. I update this one every hour.
Last edit: 10 years 11 months ago by Rene367.

Please Log in to join the conversation.

More
10 years 11 months ago #2346 by redactie
Replied by redactie on topic Re: Cronjob
you have colon in the cd command

(cd /var/www/vhosts/beginop.nl/httpdocs/ticketservice/administrator/components/com_datafeeds/cron/;php feedcron.php‏)


/usr/bin/wget www.beginop.nl/administrator/components/...ds/cron/feedcron.php

works fine from here.

Please Log in to join the conversation.

More
10 years 11 months ago #2348 by Rene367
Replied by Rene367 on topic Re: Cronjob
/usr/bin/wget www.beginop.nl/administrator/components/...ds/cron/feedcron.php
works here as well the permission denials where because i had set the times to refresh longer than the calls for it.

Now i will try if the cd line call will work as well the way as you have told me

Please Log in to join the conversation.

Time to create page: 0.461 seconds