ISPConfig 3 (current Version) problems with cronjob

Discussion in 'General' started by iceget, Mar 7, 2013.

  1. iceget

    iceget Member

    hello community,

    i have the following problem:
    i have created a file with a "mail" function on my domain.
    if i execute the script via browser, i get the mail (script is okay).

    now i have added to my website a cronjob, with this options:
    assigned website: mywebsite.com
    minute: */5
    hour: *
    day of month: *
    months: *
    day of week: *
    command: http://mywebsite.com/cron.php
    active: yes

    but it doesnt works, ...

    what can i do?

    and the secondary question:
    how i can setup my apache genreally to add utf 8 as default charset on each page on my server?

    thank you for your help!

    may greets
    --
    iceget
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Does the cron script works when you open the url manually in the browser?
     
  3. iceget

    iceget Member

    re

    hello till,

    yes its working fine (if i copy the linke from the cronjob (setting in ispconfig) in a browser, it works perfectly). ..


    what i can do?

    can i call the php script via php local?
    like: php -i /var/www/mydomain.com/web/cron.php

    thank you
     

Share This Page