# Optimized Cron Configuration # This configuration reduces duplicate executions and improves timing # Every 5 minutes - Order management */5 * * * * /usr/bin/php /var/www/html/crons/ebay_sync_delete_orders.php >> /var/www/html/crons/ebay_sync_delete_orders.log 2>&1 */5 * * * * /usr/bin/php /var/www/html/crons/simple_delete_orders.php >> /var/www/html/crons/simple_delete_orders.log 2>&1 */5 * * * * /usr/bin/php /var/www/html/crons/check_ebay_prices_cron.php >> /var/www/html/crons/cron_log.txt 2>&1 */5 * * * * /usr/bin/php /var/www/html/fetch_ebay_orders.php >> /var/www/html/crons/fetch_ebay_orders.log 2>&1 */5 * * * * /usr/bin/php /var/www/html/shopify/check_shopify_orders.php >> /var/log/shopify_orders.log 2>&1 # Every 2 minutes - Core business logic */2 * * * * /usr/bin/php /var/www/html/crons/orders.php >> /var/www/html/crons/orders.log 2>&1 # Every minute - Critical operations (with staggered timing) * * * * * /usr/bin/php /var/www/html/crons/repricer.php >> /var/www/html/crons/repricer.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/stock.php >> /var/www/html/crons/stock.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/getlist.php >> /var/www/html/crons/getlist.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/repricerused.php >> /var/www/html/crons/repricerused.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/getcatalogeitem.php >> /var/www/html/crons/getcat.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/get_cats.php >> /var/www/html/crons/get_cats.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/update_sales_rank.php >> /var/www/html/crons/updatesr.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/check_ebay_skus.php >> /var/www/html/check_ebay_skus.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/update_product_images.php >> /var/www/html/crons/update_images.log 2>&1 * * * * * /usr/bin/php /var/www/html/crons/google_merchant_upload.php >> /var/www/html/crons/google_merchant_upload.log 2>&1 * * * * * /usr/bin/php /var/www/html/ebay/check_ebay_prices.php >> /var/log/ebay_price_checker.log 2>&1 * * * * * /usr/bin/php /var/www/html/update_product_images.php >> /var/www/html/amazon_product_details.log 2>&1 * * * * * php /var/www/html/shopify/update_shopify_price_simple.php >> /var/log/shopify_price_updates.log 2>&1 # Shopify product creation - Single instance with staggered timing * * * * * sleep 20 && /usr/bin/php /var/www/html/crons/create_shopify_products.php >> /var/www/html/crons/shopify_upload.log 2>&1