How to Configure Daily Cron Job Settings in AMS Plugin
Overview
The Daily Cron Job feature in AMS Plugin automates your product updates using either WordPress’s built-in cron system or server-side cron jobs. This guide explains how to set up and manage both options.
WordPress Cron (Default Method)
What is WordPress Cron?
- Built-in WordPress scheduling system
- Handles automated tasks like product updates
- Runs when someone visits your site
Enabling WordPress Cron
- Navigate to AMS Plugin Settings
- Find “Daily Cron Job Settings”
- Under “WordPress Cron (Default)”:
- Use the toggle switch to enable/disable
- The green alert means the cron is active
- A red alert means the cron is inactive
Using WP Control
- Download the WP Control plugin using the provided button
- Install and activate the plugin
- Benefits:
- Monitor cron job status
- Manual cron execution
- Troubleshoot scheduling issues
Server-Side Cron (Advanced Method)
Why Use Server-Side Cron?
- More reliable execution
- Not dependent on on-site visits
- Better performance
- Recommended for large stores
Setting Up Server-Side Cron
- Click the “How to Set Up Server-Side Cron Job” button
- Follow the detailed guide for:
- cPanel setup
- Command line configuration
- Proper timing settings
Best Practices
Choosing the Right Method
- WordPress Cron is best for:
- Small to medium stores
- Shared Hosting
- Basic automation needs
- Server-Side Cron is best for:
- Large stores
- VPS/Dedicated hosting
- High-reliability requirements
Monitoring and Maintenance
- Regular checks:
- Verify cron job status
- Check update logs
- Monitor performance
- Troubleshooting:
- Review error logs
- Verify scheduling
- Check server resources
Common Issues and Solutions
WordPress Cron Issues
- Problem: Cron not running
- Solution: Verify WP Cron is not disabled
- Check hosting configuration
- Use WP Control for diagnostics
Server-Side Cron Issues
- Problem: Cron’s job failing
- Solution: Verify the command path
- Check server permissions
- Review error logs
Important Notes
- Don’t enable both methods simultaneously
- Backup your database before changing settings
- Monitor the system after making changes
- Consider your hosting environment
Need Help?
- Review the server-side cron guide
- Contact your hosting provider
- Reach out to AMS Plugin support
- Check WordPress documentation
Remember: Choose the method that best fits your store’s size and needs. Start with WordPress Cron for simpler setups, and switch to server-side cron if you need more reliability.