Skip to main content

Getting e-mails from root cron

Comments

2 comments

  • cPanelAnthony
    Hello! Are you able to set a custom session folder for the domains? Cronjob not sending email notifications
    0
  • ramasaig
    Hello! Are you able to set a custom session folder for the domains?

    I probably could, but the documentation suggests that I'd then have to set up a custom means of clearing old sessions for each one. I'm not sure this would be a good use of time!
    In regards to the cronjob, can you see if this article helps?

    From this article it looks as if an e-mail is NOT sent if there's no output (contrary to my assumption). I have run the job script in Putty and get no output, so it would seem I'm not going to get any e-mail. Having now had a lengthy run around the whole matter of deleting old sessions I think the best thing to do will be to delete manually the sessions from 2020 lingering in the directory '/.../ea-php70' (over 250 of them!), and leave the existing cron job to deal with sessions in '/.../ea-php72' and '/.../ea-php73', which it seems to be doing quite well. Thanks for your help.
    0

Please sign in to leave a comment.