Some Duet functionality requires a URL to be pinged periodically to work properly. For example, the
Recurring Invoicing functionality requires a URL to be pinged daily to send out the invoices and the
Reply to Discussion feature requires a URL to be pinged every few minutes to grab new messages and
add them into the appropriate discussions.
To set up this functionality, you will need to create a new email address that will only be used
for Duet only. This email address shouldn't be used for anything else because emails are deleted by Duet once
they are processed. A simple free Gmail account will work for this purpose
- Log into an admin account and open the Settings page (under the Misc tab)
Click on the Scheduled Tasks tab in the Settings page
- This will show two URLs, one for Frequently and one for Daily. The Frequently URL is for email discussions
and the Daily URL is for recurrring invoicing. Only setup the URLs that you need.
Create a Cron job for the URLs that correspond to functionality you're using. The Frequently URL
should be pinged every three minutes, and the Daily URL should be pinged once a day.
*/3 * * * * /usr/bin/curl -s -L "http://url/of/frequently?code=XyZty" 0 12 * * * /usr/bin/curl -s -L "http://url/of/daily?code=XyZty"