Cron jobs not getting run

Discussion in 'General' started by 99miles, Feb 29, 2012.

  1. 99miles

    99miles New Member

    When I create new cron jobs (and set them as active), they are put in /etc/cron.d/ispc_chrooted_web1

    */2     *       *       *       *       web1    /etc/cron.d/job1
    *       *       *       *       *       web1    /etc/cron.d/job2
    1) Where in ISPConfig do I specify what this MAILTO will be set to?

    2) These jobs aren't getting run. However if I manually add them to the root users 'crontab -e' file they get run fine. Why wouldn't they be getting run here?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) The amilto cant be set in ispconfig.
    2) You run a chrooted cronjob and the script that you try to execute is not in the chroot.
  3. 99miles

    99miles New Member

    I see, thanks. So how do I give that user the access it needs?

    Do I just need to give the web1 user access to execute those files?
  4. 99miles

    99miles New Member

    It looks like the cron isn't even running at all, so I have a feeling it's not a permissions issue yet.
    I modified /etc/cron.d/ispc_chrooted_web1 to the following and it still doesn't run:

    *       *       *       *       *       root    /etc/cron.d/send_it  > dev/null 2>> /var/log/ispconfig/cron.log
    What is it that is supposed to run this ispc_chrooted_web1 file? How else can I narrow this down?

Share This Page