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 : 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)
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.
Full cron means that all types of cronjobs are allowed incl. URL Cronjobs. PLeasetry what I suggested, it should work out of the box.
Sorry for again asking But let i want to download a file https://dl.dropboxusercontent.com/u/39708058/cdn/fahad.png to download every 5 minutes .... then i will just put the https://dl.dropboxusercontent.com/u/39708058/cdn/fahad.png link in the command field ?
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 .
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.