Cron Job Notification Email

Category: How To

Guido
Asked:
2013-02-26 9:38 am EST

Hits: 398
I have 2 cron jobs set up...both run fine.
The problem is that I only get a notification email from one of the jobs, not both.
How do I get notifications from both jobs?
Thanks in advance for any help.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

Scott
Staff
19,592 Points
2013-02-26 10:37 am EST
Hello Guido,

With cron jobs, you will only receive an email if that particular job produces output. If you need to force the one cron job to produce output you can simply insert the following statement at the end of the script:

echo "done";

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!