Jump to content

Question about cron jobs for WHMCS


Faizal1
Go to solution Solved by WHMCS John,

Recommended Posts

Hi there,

Just want to clarify something. We are using the forwarding method to pipe emails into WHMCS ticketing. I just noticed we had 2 cron jobs setup. Do we need the pipe.php cron?

  1. /usr/bin/php -q /home/xxxxxx/xxxxxx/crons/cron.php >/dev/null 2>&1
  2. /usr/bin/php -q /home/xxxxxx/xxxxxx/crons/pipe.php >/dev/null 2>&1

I know we need the 1st cron to automate all tasks but i'm not sure if using the forwarder method we need the 2nd one.

Any help/advice would be appreciated.

 

Link to comment
Share on other sites

  • WHMCS Support Manager
  • Solution

Hi @Faizal1

The pipe.php script should not be run as a cronjob. Please remove that one.

Pipe.php is part of the Email Piping method and is configured as an email forwarder:  https://docs.whmcs.com/Email_Piping

Pop.php should operate as a cron job if you're using the Email Importing method:  https://docs.whmcs.com/Email_Importing

Link to comment
Share on other sites

8 hours ago, WHMCS John said:

Hi @Faizal1

The pipe.php script should not be run as a cronjob. Please remove that one.

Pipe.php is part of the Email Piping method and is configured as an email forwarder:  https://docs.whmcs.com/Email_Piping

Pop.php should operate as a cron job if you're using the Email Importing method:  https://docs.whmcs.com/Email_Importing

Thank you so much John. I did remove it yesterday and piping is working as it should.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated