
How Can Post Affiliate Pro Help Manage Affiliate Programs?
Discover how Post Affiliate Pro streamlines affiliate program management with advanced tracking, commission automation, fraud prevention, and comprehensive repo...

Learn how to manage and optimize your Post Affiliate Pro installation with comprehensive system administration features including cron jobs, cache management, database optimization, and performance tuning.
Available in:
Effective system administration is essential for maintaining a high-performance affiliate program . Post Affiliate Pro provides comprehensive tools for managing scheduled tasks, caching, logging, database optimization, and system maintenance. Understanding these features helps ensure your affiliate software runs smoothly and efficiently.
Post Affiliate Pro uses a task scheduling system that processes background jobs automatically. The main entry point is the jobs.php script, which should be called regularly by your server’s cron daemon.
The task runner executes pending tasks within a configurable time frame, typically running for the duration of the cron interval minus a small buffer. Tasks that cannot complete in one execution cycle are automatically resumed in the next run.
To configure cron jobs for your installation:
* * * * * /usr/local/bin/php -q /path/to/your/installation/scripts/jobs.php
This runs the task processor every minute, which is the recommended configuration. The system automatically calculates how long each execution should run based on your configured cron interval.
In the merchant panel under Tools, you can configure:
The system monitors cron execution and displays a warning if tasks have not been processed recently. You can also manually trigger task execution from the admin panel for testing purposes.
For advanced configurations, you can run specific tasks or exclude certain tasks:
php jobs.php --include TaskClassName1 TaskClassName2
php jobs.php --exclude TaskClassName1 TaskClassName2
This is useful for distributing workload across multiple cron workers or isolating problematic tasks.
Post Affiliate Pro utilizes Redis for high-performance caching, which significantly improves response times for frequently accessed data. The caching system stores:
Cache settings are defined in your installation’s configuration file. The system supports:
When making configuration changes or troubleshooting issues, you may need to clear cached data. The system provides options for:
For tracking-related caches like direct links and mod rewrite settings, clear the cache after making configuration changes to ensure new settings take effect immediately.
Post Affiliate Pro provides configurable logging to help diagnose issues. Available log levels include:
Higher verbosity levels generate more log entries, which can impact performance. Use debug logging only when troubleshooting specific issues.
For detailed tracking diagnostics, you can enable debug mode which logs:
Debug mode automatically disables after one hour to prevent performance degradation and log file growth. The debug types setting allows you to specify which categories of events to log (e.g., actions, banners, errors).
The system automatically cleans up old event log entries based on your configuration:
These settings help maintain database performance while retaining sufficient historical data for troubleshooting.
Login history records are automatically purged after a configurable number of days (default: 30 days). This helps maintain database size while preserving recent security audit information.
Maintenance mode temporarily suspends normal application operations during upgrades or critical maintenance. When enabled:
Certain endpoints remain accessible during maintenance:
/health, /health-check)This allows monitoring systems to verify the application status even during maintenance windows.
The system enters maintenance mode automatically during:
Once the maintenance operation completes, normal operation resumes automatically.
The Database Status plugin provides visibility into your database health. After activation, navigate to Tools > Database Status to view:
The plugin supports several maintenance operations:
Run these operations during low-traffic periods as they may temporarily lock tables.
The Database Status plugin requires your database user to have SELECT privileges on the INFORMATION_SCHEMA.TABLES system table. If activation fails, verify these permissions with your database administrator.
Post Affiliate Pro automatically manages data retention for optimal performance:
The following functions must be enabled:
Optimize visit processing for your traffic volume:
The sales statistics processor consolidates transaction data at configurable intervals:
Configure data grid limits to balance usability with performance:
Control email sending rates to avoid overwhelming mail servers:
Configure task behavior for long-running operations:
Tasks automatically checkpoint their progress, allowing seamless resumption if interrupted.
A complete backup includes:
MySQL Database
File System
For hosted Post Affiliate Pro installations, backups are managed automatically by the hosting infrastructure. Contact support for specific backup and restoration requests.
Configure IP-based access controls for:
Protect against abuse with configurable rate limits:
Monitor system health through:
Cron not running:
High database usage:
Cache issues:
For additional troubleshooting assistance, access the support portal or contact technical support.
Post Affiliate Pro requires PHP 8.0 or higher with PDO MySQL extension, GD library, bcmath extension, and at least 128MB memory limit. MySQL database with utf8mb4 character set is required. The configuration directory must be writable by the web server.
Set up a cron job to run every minute with the command: /usr/local/bin/php -q /path/to/scripts/jobs.php. This ensures scheduled tasks like visit processing, email sending, and data cleanup run automatically.
Use the Database Status plugin to analyze, optimize, and repair tables. Enable automatic cleanup of old raw clicks, event logs, and login history. Configure the sales statistics processor interval for your traffic volume.
Back up the MySQL database regularly, including all tables. Also backup the accounts directory containing configuration files, uploaded files, and custom themes. For hosted versions, backups are managed automatically.
Take full control of your Post Affiliate Pro installation with powerful system administration tools. Ensure optimal performance and reliability.

Discover how Post Affiliate Pro streamlines affiliate program management with advanced tracking, commission automation, fraud prevention, and comprehensive repo...

Learn how to activate plugins in Post Affiliate Pro with our step-by-step guide. Discover integration and customization plugins to enhance your affiliate progra...

Automate affiliate assignments to campaigns and commission groups based on signup, products, or profile fields. Save time with Post Affiliate Pro's powerful aut...
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.