GoAdmio Command Line: expire with /go/expire

/go/expire checks two separate dates for every hosted account and notifies the customer and the admin channels when either is close: This command only reports; it does not renew anything. Run it on a schedule (daily, from cron) so customers get advance notice. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/expire

Options

None. expire always checks every hosted account.

Examples

# Run it manually
/go/expire

# Check what's currently stored for a domain
sudo sqlite3 /var/lib/sqlite/site.db \
"select Domain, DomainExpiresOn, DomainDaysLeft, ExpiresOn, DaysLeft from Site where Domain='example.com'"

# Schedule it daily (see cron for the exact syntax GoAdmio expects)
/go/cron

Output

A line is printed for each domain or account that falls in a notification window:

example.com Domain Expires On 2026-11-28 (8 days left)
example.com Hosting Expires On 2026-11-25 (5 days left)

No summary line is printed if nothing is close to expiring.

See the full reference at /go/expire and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *