# Hosted-specific crontab entries.

# Disable Past-due Accounts
25 00 * * * landscape /opt/canonical/landscape/scripts/disable-accounts.sh

# Expire Accounts
# 35 00 * * * landscape /opt/canonical/landscape/scripts/expire-accounts.sh

# Trial Account Notifications
45 00 * * * landscape /opt/canonical/landscape/scripts/trial-account-notifications.sh

# Monthly billing of self-service accounts
30 00 28 * * landscape /opt/canonical/landscape/scripts/bill-accounts.sh

# Check for failed payments (every 4 hours)

50 */4 * * * landscape /opt/canonical/landscape/scripts/check-failed-payments.sh

# Request payments of outstanding charges for self-service accounts
10 * * * * landscape /opt/canonical/landscape/scripts/stripe-charge-accounts.sh

# Generate and email PDF receipts for payments in self-service accounts
40 * * * * landscape /opt/canonical/landscape/scripts/generate-payment-receipts.sh

# Delete event log entries older than n days
# 55 00 * * * landscape /opt/canonical/landscape/scripts/cleanup-events.sh 90

# Delete finished activities older than n days
# 05 01 * * * landscape /opt/canonical/landscape/scripts/cleanup-activities.sh 90

