Cronjob

5 years 10 months ago #2334 by bram

url is niet ok

wget http://www.beginop.nl/administrator/components/com_datafeeds/cron/feedcron.php



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    5 years 10 months ago - 5 years 10 months ago #2341 by Rene367

    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.



  • Posts: 109
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Last Edit: 5 years 10 months ago by Rene367.

    Please Log in to join the conversation.

    5 years 10 months ago #2346 by bram

    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.



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    5 years 10 months ago #2348 by Rene367

    /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



  • Posts: 109
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Time to create page: 0.051 seconds
    Powered by Kunena Forum