There are two DAP cron jobs :
1. dap-emailorder.php
Only needed if you use 1SC or CB for payment processing. Not required if you use Paypal. It should be setup to run once every 10 minutes to process 1SC / CB sales notification email. Running it once every minute or even once every 5 minutes is resource intensive. It’s not recommended and your webhost may not allow it.
2. dap-cron.php
Needs to be setup to run once every hour to process any email broadcasts, autoresponders, bulk imports, affiliate commissions etc. Most webhosts have common settings that allows you to pick ‘hourly’ option from the drop down.
(0 for the minute, * for the hour, * for the day of the month, * for the month, * for the day of the week)
Note:
1. Yes, you can set up the dap-emailorder.php cron even if you plan on using paypal now and will use CB / 1SC later but it’s unnecessary use of system resources. DAP will try to connect to the mail server to find CB sales notification emails and will not find any. Our recommendation is to set it up only if you need it.
2. Email report :
Your webhost control panel allows you to set an email address where it can send the cron output. So login to your webhost control panel -> cron settings and add your email address where you want the cron report sent. If you do not want to receive the cron report, you can just remove the email address and hit update.
3. To check cron status, you can also set DAP Admin -> Setup -> Config -> Log Level = 5 and then go to DAP admin -> System -> Logs and check the log content after 10 minutes or at the top of hour.
4. To force run a cron (manually), click on this link:
http://<yoursite.com>/dap/dap-cron.php
http://<yoursite.com>/dap/dap-emailorder.php
Replace <yoursite.com> with the name of your site.
Veena Prashanth
2 comments ↓
How do we validate that the CRON job is setup correctly? I got an email, but it’s all greek to me.
If I force run a cron using the dap-cron.php link, do I have to do it more than once? For example, I have a csv in my bulk folder that has just under 300 records. When I ran dap-cron.php, it managed to insert 100 of those records and stopped.
Do I need to run it more than once until all records are inserted or will it try to duplicate the ones its already inserted?
Leave a Comment