<description>Cleans up old sessions and other data, optimizes and repairs the database tables, corrects bad key counters, and runs any new update scripts in the /upgrades directory.</description>
<log>1</log>
<type>0</type>
<command>core:cleanup</command>
<int_min>1</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
<running>0</running>
</task>
<task>
<id>5</id>
<site_id>1</site_id>
<date_start>1098342000</date_start>
<date_expire>0</date_expire>
<date_last>1111365988</date_last>
<name>Service Queue</name>
<description>Runs the service queue to perform add, suspend, unsuspend, edit, delete, etc...</description>
<log>1</log>
<type>0</type>
<command>service:queue</command>
<int_min>0-59/5</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>6</id>
<site_id>1</site_id>
<date_start>1268467200</date_start>
<date_expire>0</date_expire>
<date_last>1099096879</date_last>
<name>Account Cleanup</name>
<description>Loop though all accounts to delete inactive accounts with no invoices, services, and no staff or affiliate accts</description>
<type>0</type>
<command>core:account_cleanup</command>
<int_min>0</int_min>
<int_hour>0</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>7</id>
<site_id>1</site_id>
<date_start>0</date_start>
<date_expire>0</date_expire>
<date_last>1099096842</date_last>
<name>Invoice Cleanup</name>
<description><![CDATA[Delete inactive/unpaid invoices older than the allowed period, defined to 60 days by default in /modules/core/core.inc.php as the constant "AGILE_INVOICE_CLEANUP_DAYS".
]]></description>
<type>0</type>
<command>core:invoice_cleanup</command>
<int_min>15</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>8</id>
<site_id>1</site_id>
<date_start>0</date_start>
<date_expire>0</date_expire>
<date_last>1111894623</date_last>
<name>Generate Invoices</name>
<description>This task generates any new invoices and sends the appropriate notices to the customers.</description>
<type>0</type>
<command>invoice:generate</command>
<int_min>5</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>9</id>
<site_id>1</site_id>
<date_start>0</date_start>
<date_expire>0</date_expire>
<date_last>1111525669</date_last>
<name>Invoice Autobilling</name>
<description>Performs the billing for due invoices sends out invoice alerts, reminders, decline, and suspend notices.</description>
<type>0</type>
<command>invoice:autobill</command>
<int_min>10</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>11</id>
<site_id>1</site_id>
<date_start>0</date_start>
<date_expire>0</date_expire>
<date_last>1102724394</date_last>
<name>Service Cleanup</name>
<description>Deactivate any expired one-time services that granted group access for a specific amount of days. If this task is run manually, the service queue task should be run afterwards.</description>
<type>0</type>
<command>service:cleanup</command>
<int_min>20</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>12</id>
<site_id>1</site_id>
<date_start>0</date_start>
<date_expire>0</date_expire>
<date_last>1110084311</date_last>
<name>Charge: Daily</name>
<type>0</type>
<command>charge:sweep_daily</command>
<int_min>0</int_min>
<int_hour>*</int_hour>
<int_month>*</int_month>
<int_month_day>*</int_month_day>
<int_week_day>*</int_week_day>
</task>
<task>
<id>59</id>
<site_id>1</site_id>
<date_start>0</date_start>
<date_expire>0</date_expire>
<date_last>1132899627</date_last>
<name>Credit Card Expiry</name>
<description>Locate credit cards expiring in the next 2 months and e-mail the user.</description>