• Edited

Cron ran OK, but paths need updating - cron scripts are now in the scripts subfolder

Please need some help fixing this so it can send emails again.

any step by step to fix this would be appreciated

  • change your cronjobs - the files are now in "scripts" folder, so you don't execute …… /your/path/cron.php …but …… /your/path/scripts/cron.php …and btw. you also don't need the API key in there anymore so you can delete that key in your cronjob line(s).

change your cronjobs - the files are now in "scripts" folder, so you don't execute …… /your/path/cron.php …but …… /your/path/scripts/cron.php …and btw. you also don't need the API key in there anymore so you can delete that key in your cronjob line(s).

Drop to shell and do crontab -e or sudo crontab -e

Check both to see where your cron is set up

It should look something like in the docs https://docs.itflow.org/cron

sorry to hijack the thread but it seem i have the same issue.

im getting the error above
here is after I ran crontab -e as root

and thats the the new changes.
am i missing any other step ?

thank you

    magixnetworks
    yes, I have also turn it off and on but still getting that message.

    i mostly just use cron for recurring tickets

    thanks for the reply

      opensourcefollower Do you have SMTP and IMAP accounts setup in ITFlow?

      If you don't have incoming e-mail you don't need the cron_ticket_email_parser.php cron task to run and you can remove it.
      If you don't send e-mail from ITFlow you don't need the cron_mail_queue.php cron task to run and you can remove it.

      Recurring tickets happen in cron.php so that does need to run.

      ahhh makes sense.

      let me remove that line

      Thank you

      • Edited

      Thanks everyone I think I fixed it, Ill do some testing and see how i go.

      That worked thanks to everyones help