Ispconfig3 cronjobs not working

Discussion in 'General' started by foxpro, May 22, 2013.

  1. foxpro

    foxpro New Member

    I have installed ispconfig by This Tutorial . Everything (almost) working fine . Nameserver,mailserver,ftp,all . Also i can give jailed ssh access to clients . But crontab or cronjob is not working even with admin and also client. I can set cronjob from ispconfig option but actually they don't work !!! let i want to download a file obakfahad . com/file.zip in every 10 minutes . I did that :

    [​IMG]

    for a particular parent website . But after 10-15 minutes from my terminal when i search that file.zip i can't find it . that means cron is not working . I even tried wget only rather than /usr/bin/wget and i i executed command "crontab -u web5 -l" mentioning web5 is the user of that particular parent website also tried client5 as it is the client who is the owner of that web5 or website . when i tried by client5 it shows no user found , so i tried "crontab -u web5 -l" and it shows no crontab for web5 . please help me . please .(crons works from crontab -e from ssh by terminal)
     
  2. till

    till Super Moderator

    The cron file is in /etc/cron.d/ and not in the user crontab of the web5 user. client5 is the name of the group were the website belongs to, its not a username.

    Regarding your cronjob, ispconfig supports url crons, so the command to run a url is just:

    http://......

    and not with the wget in front.
     
  3. foxpro

    foxpro New Member

    Full/Chrooted/url options in limit

    But if i set the clients limit of cron to FULL cron ?
     
  4. till

    till Super Moderator

    Full cron means that all types of cronjobs are allowed incl. URL Cronjobs. PLeasetry what I suggested, it should work out of the box.
     
  5. foxpro

    foxpro New Member

  6. till

    till Super Moderator

    Yes, just add the link in the command field. Thats decsribed in the manual in detail btw.
     
  7. foxpro

    foxpro New Member

    Please .

    I have no manual ! And please sir can you please tell me what cron option i should unable for my clients ? I am running a small hosting business in my city based . I need to know about crons .Please describe about chrooted cron , url(i understand it) , Full cron ... Please .
     
  8. till

    till Super Moderator

    Full cron allows to run any command as cronjob on your server as web user, in this case web5. Its the least secure option.

    Jailed cron runs the cronjob in the jail of the website, with this option you can only run commands that are installed inside the jail. Thats much betters ecurity wise.

    URL cron allows only to run cronjobs by URL, it is the most secure option. ispconfig handles the url cron and creates the nescessary command in the cron files for it.
     
  9. foxpro

    foxpro New Member

    Thanks A Lot !!!
     

Share This Page