How do I set up a cron job for email autoresponders?
Category: How To
Hi,
I want to setup some cron jobs to turn on & off a auto responder on a support email address , so basically out of hours they get an auto response.
How can I do this ?
I want to setup some cron jobs to turn on & off a auto responder on a support email address , so basically out of hours they get an auto response.
How can I do this ?
Best answer chosen by InMotion Hosting staff
|
0
|
Hi fouldsc, Thanks for posting your question. I'm more than happy to assist you today. Unfortunately, cPanel does not offer the ability to turn on and off autoresponders at specific times each day. However, you can write a php script to change the time stamps in the autoresponder's file each day to do so. When you create an autoresponder in cPanel it creates a .JSON file located in the ".autorespond" folder in the root of your account. Your PHP script would modify the UNIX time stamp in the file everyday at a specific time. This would enable the autoresponder based on the "new" time inserted into the file. I hope this helps! If you need further assistance please feel free to contact us. Thanks! Tim S |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed 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 |


