CronJobs

Discussion in 'General' started by Cirox, Apr 26, 2006.

  1. Cirox

    Cirox New Member

    Hi,

    how to manage that user will setup their own cronjob in ispconfig, or is there any way to configure it manually with an extra script or site ?

    greetings cirox
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig does not support cronjob management yet. I dont know any cronjob interface except webmin, but I'am sure you will find some on sourceforge or google.
     
  3. Cirox

    Cirox New Member

    Hi,

    ok thanks i will look for and request the feature in ispconfig ;-)

    greeting cirox
     
  4. Ovidiu

    Ovidiu Active Member

    hello I have a similar question:

    a new customer asked me for cronjob support.
    can I give him this?

    how can he setup his own cronjobs?
    maybe giving him shell access so he can edit his own crontab?

    please give me some hints, this is important
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Yes, you must give him shell access, then he can create cron jobs for himself with
    Code:
    crontab -e
     
  6. Ovidiu

    Ovidiu Active Member

    anyone succeeded to make this compatible with the chrooted users?
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Is the crontab binary in the user's chroot jail?
     
  8. Ovidiu

    Ovidiu Active Member

    it is:

    would it be enough to create /var/spool directory?

    can someone help if this is interesting for someone else?
     
    Last edited: Aug 25, 2006
  9. falko

    falko Super Moderator Howtoforge Staff

    You should create /var/spool and /var/spool/cron. You might have to check the "real" /var/spool and /var/spool/cron directories to find out which owners and permissions are required.
     
  10. Ovidiu

    Ovidiu Active Member

    well here are the permissions:

    so would it be enough to add this to the end of the /root/ispconfig/scripts/shell/create_chroot_env.sh
    file:

    that did not work, now I am trying with this and its not working too:

    the error I get when running the script is:

    ###edit###

    this is the final result:

    but now I have other problems:

     
    Last edited: Aug 28, 2006
  11. falko

    falko Super Moderator Howtoforge Staff

    You need to copy /usr/bin/editor to your chroot environment.
     
  12. Ovidiu

    Ovidiu Active Member

    editor was mcedit so I also had to add mc to the jail but now it works.
     

Share This Page