# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any'). # # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command # ================================ # ========= BY MINUTE ============ * * * * * php /var/www/public_html/cron/run.php kill_old_connections > /dev/null & * * * * * php /var/www/public_html/cron/run.php alarms > /dev/null & * * * * * php /var/www/public_html/cron/run.php check_cis_users > /dev/null & * * * * * php /var/www/public_html/cron/run.php queue_summary > /dev/null & * * * * * php /var/www/public_html/cron/run.php scrub_database > /dev/null & * * * * * php /var/www/public_html/cron/run.php scrub_ssn > /dev/null & #* * * * * php /var/www/public_html/cron/run.php vacuum_postgres > /dev/null & * * * * * php /var/www/public_html/cron/run.php php_sessions > /dev/null & 0 9 * * * php /var/www/public_html/cron/run.php blog_notifications > /dev/null & # backend file processing */10 * * * * php /var/www/public_html/cron/run.php process_commission > /dev/null & */10 * * * * php /var/www/public_html/cron/run.php wipe_old_tickets > /dev/null & #*/10 * * * * php /var/www/public_html/cron/run.php attach_commission_tickets > /dev/null & # fourchange workaround */10 * * * * php /var/www/public_html/cron/run.php fourchange_rejected > /dev/null & #* * * * * php /var/www/public_html/cron/run.php filesystem_check > /dev/null & * 9,10 * * * php /var/www/public_html/cron/run.php send_churn_drip > /dev/null & # ================================ # ========== REPORTING =========== 0 * * * * php /var/www/public_html/cron/run.php email_dump > /dev/null & # ================================ # ========== BY HOUR ============= # clean CIS filesystem, remove old stuff 0 * * * * php /var/www/public_html/cron/run.php clean_filesystem > /dev/null & # lando spinners #45 * * * * php /var/www/public_html/cron/run.php spinners > /dev/null & # set duplicate review notices 13 * * * * php /var/www/public_html/cron/run.php flag_duplicate_reviews > /dev/null & # update estimated kpi numbers 0 * * * * php /var/www/public_html/cron/run.php kpi_numbers > /dev/null & 57 * * * * php /var/www/public_html/cron/run.php kpi_numbers_daily > /dev/null & 59 * * * * php /var/www/public_html/cron/run.php kpi_numbers_daily > /dev/null & # download SMS from twilio * * * * * php /var/www/public_html/cron/run.php twilio > /dev/null & # move visitor records to archive * * * * * php /var/www/public_html/cron/run.php archive_cms > /dev/null & # quarterly report updater #4 * * * * php /var/www/public_html/cron/run.php quarterly.php insert_new > /dev/null & #5 * * * * php /var/www/public_html/cron/run.php quarterly.php process > /dev/null & # plan slug updater 4 * * * * php /var/www/public_html/cron/run.php plan_slugs > /dev/null & * * * * * php /var/www/public_html/cron/run.php rate_updates > /dev/null & # rate change notifications 30 * * * * php /var/www/public_html/cron/run.php active_rates_by_rep > /dev/null & # check api errors and shut off plans 1 * * * * php /var/www/public_html/cron/run.php partner_errors > /dev/null & # import calls from DC #25 * * * * php /var/www/public_html/cron/run.php dc_calls > /dev/null & # update plan groups for consty flanks 0 * * * * php /var/www/public_html/cron/run.php manage_flank_plans > /dev/null & # plan feeds for dynamic ads 35 * * * * php /var/www/public_html/cron/run.php plan_feed > /dev/null & 35 * * * * php /var/www/public_html/cron/run.php plan_feed_facebook > /dev/null & # process RAF 30 * * * * php /var/www/public_html/cron/run.php process_myaccount_raf > /dev/null & # clear out test orders 15 * * * * php /var/www/public_html/cron/run.php purge_test_orders > /dev/null & # ================================ # =========== DAILY ============== # database backups 50 23 * * * php /var/www/public_html/cron/run.php backup_database_mysql > /dev/null & 50 23 * * * php /var/www/public_html/cron/run.php backup_database_postgres > /dev/null & #0 * * * * php /var/www/public_html/cron/run.php backup_zfs > /dev/null & # log queue counts 55 23 * * * php /var/www/public_html/cron/run.php updateQueueCounts > /dev/null & # download/process ercot addresses 0 5 * * * php /var/www/public_html/cron/run.php downloadErcot > /dev/null & 0 12 * * * php /var/www/public_html/cron/run.php unzipErcot > /dev/null & */5 * * * * php /var/www/public_html/cron/run.php processErcot > /dev/null & # clean c_serviceability_zips 10 1 * * * php /var/www/public_html/cron/run.php processErcotZips > /dev/null & 20 1 * * * php /var/www/public_html/cron/run.php processConflictedZips > /dev/null & 30 1 * * * php /var/www/public_html/cron/run.php processZipCities > /dev/null & 40 1 * * * php /var/www/public_html/cron/run.php processZipCommodities > /dev/null & # keep historical price data 30 6 * * * php /var/www/public_html/cron/run.php capture_prices > /dev/null & # check if emails are clicked/read/dropped 30 4 * * * php /var/www/public_html/cron/run.php outbound_email_statuses > /dev/null & # update serviceable city lists 0 22 * * * php /var/www/public_html/cron/run.php cities > /dev/null & # download FTP files 29 23 * * * chmod 777 -R /var/local/home/fivenine/* 29 23 * * * chmod 777 -R /var/local/home/trusted/* 29 23 * * * chmod 777 -R /var/local/home/prime/* 29 23 * * * chmod 777 -R /var/local/home/vsynergize/* 30 23 * * * php /var/www/public_html/cron/run.php download_phonecalls_fivenine > /dev/null & 30 23 * * * php /var/www/public_html/cron/run.php download_phonecalls_trusted > /dev/null & 30 23 * * * php /var/www/public_html/cron/run.php download_phonecalls_prime > /dev/null & 30 23 * * * php /var/www/public_html/cron/run.php download_phonecalls_vsynergize > /dev/null & # update backend data for reports 0 23 * * * php /var/www/public_html/cron/run.php report_weekly_plan_clicks > /dev/null & # flank site data updates 30 9 * * * php /var/www/public_html/cron/run.php sendFlanks > /dev/null & # update base status flag in reps 45 * * * * php /var/www/public_html/cron/run.php reps > /dev/null & # update recipe 0 0 * * * php /var/www/public_html/cron/run.php updatePartnerClickSubmitAcceptPercent > /dev/null & 0 2 * * * php /var/www/public_html/cron/run.php update_trending > /dev/null & 0 4 * * * php /var/www/public_html/cron/run.php update_recipe > /dev/null & # quickbooks crunching #0 1 * * * php /var/www/public_html/cron/run.php calculate_quickbooks > /dev/null & # process outbox carts #10 1 * * * php /var/www/public_html/cron/run.php process_outbox first > /dev/null & 30 23 * * * php /var/www/public_html/cron/run.php process_outbox just > /dev/null & 30 9 * * * php /var/www/public_html/cron/run.php process_outbox mercury > /dev/null & 0 5 * * * php /var/www/public_html/cron/run.php process_outbox santanna > /dev/null & 0 2 * * * php /var/www/public_html/cron/run.php process_outbox starion > /dev/null & 1 0 * * * php /var/www/public_html/cron/run.php process_outbox titan > /dev/null & 2 0 * * * php /var/www/public_html/cron/run.php process_outbox nrg > /dev/null & # rep average prices 33 3 * * * php /var/www/public_html/cron/run.php populate_average_prices > /dev/null & # pre cache flank site stuff 55 1 * * * php /var/www/public_html/cron/run.php flank_precache > /dev/null & # plan and rep checks 30 8 * * * php /var/www/public_html/cron/run.php plans_missing_links > /dev/null & 30 8 * * * php /var/www/public_html/cron/run.php reps_missing_commissions > /dev/null & # update scana pools based on current list and our rejections #45 2 * * * php /var/www/public_html/cron/run.php scana_pools > /dev/null & # send biz lead report 0 9 * * * php /var/www/public_html/cron/run.php send_daily_biz_lead_reports > /dev/null & # missing market mappings for nate 31 8 * * * php /var/www/public_html/cron/run.php markets_missing > /dev/null & # ================================ # =========== WEEKLY ============= # wipe out graph images #0 22 * * 1 php /var/www/public_html/cron/run.php graphs > /dev/null & 0 9 * * 1 php /var/www/public_html/cron/run.php send_weekly_biz_lead_reports > /dev/null & # check decline rates and suggest shutting off plans 30 6 * * 1 php /var/www/public_html/cron/run.php partner_declines > /dev/null & # wipe out old plans that never went active 0 1 * * 1 php /var/www/public_html/cron/run.php extra_plans > /dev/null & # ================================ # ========== MONTHLY ============= # download EIA data 0 12 25 * * php /var/www/public_html/cron/run.php downloadEiaElectricityData > /dev/null & 30 12 25 * * php /var/www/public_html/cron/run.php downloadEiaNaturalGasData > /dev/null & 0 0 1 * * php /var/www/public_html/cron/run.php send_monthly_order_reports > /dev/null & # show systematically hidden plans 0 0 1 * * php /var/www/public_html/cron/run.php release_plans /dev/null & # sitemaps for google/etc. these live in domain.com/sitemaps/sitemap-dd-mm-yy.xml #0 0 1 * * php /var/www/public_html/cron/run.php sitemaps > /dev/null & # ================================ # ======= ORDER STATUSES ========= # update statuses for past week #55 7 * * * php /var/www/public_html/cron/run.php update_cart_statuses_brooklet > /dev/null & #15 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_frontier > /dev/null & #25 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_nrg > /dev/null & #30 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_payless > /dev/null & #35 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_public > /dev/null & #40 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_vista > /dev/null & #0 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_champion > /dev/null & #5 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_constellation > /dev/null & #10 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_direct > /dev/null & #20 8 * * * php /var/www/public_html/cron/run.php update_cart_statuses_hello > /dev/null & # all time order statuses #0 2 * * 0 php /var/www/public_html/cron/run.php update_cart_statuses_brooklet.php full > /dev/null & #0 2 * * 1 php /var/www/public_html/cron/run.php update_cart_statuses_frontier.php full > /dev/null & #0 2 * * 2 php /var/www/public_html/cron/run.php update_cart_statuses_nrg.php full > /dev/null & #0 2 * * 3 php /var/www/public_html/cron/run.php update_cart_statuses_payless.php full > /dev/null & #0 2 * * 4 php /var/www/public_html/cron/run.php update_cart_statuses_public.php full > /dev/null & #0 2 * * 5 php /var/www/public_html/cron/run.php update_cart_statuses_vista.php full > /dev/null & #0 12 * * * php /var/www/public_html/cron/run.php update_cart_statuses_champion.php full > /dev/null & #0 13 * * * php /var/www/public_html/cron/run.php update_cart_statuses_constellation.php full > /dev/null & #0 14 * * * php /var/www/public_html/cron/run.php update_cart_statuses_direct.php full > /dev/null & #0 16 * * * php /var/www/public_html/cron/run.php update_cart_statuses_hello.php full > /dev/null & # ================================ # ======== PLAN UPDATES ========== * * * * * php /var/www/public_html/cron/run.php update_plans_five_csv > /dev/null & 1 * * * * php /var/www/public_html/cron/run.php stale_active_plans > /dev/null & 0 1 * * * php /var/www/public_html/cron/run.php clean_plan_markets > /dev/null & 0 8 * * * php /var/www/public_html/cron/run.php rep_active_plans_notification > /dev/null & 0 * * * * php /var/www/public_html/cron/run.php snapshot_plans > /dev/null & # 1 * * * * php /var/www/public_html/cron/run.php update_plans_error > /dev/null & 15 * * * * php /var/www/public_html/cron/run.php check_rates > /dev/null & 45 * * * * php /var/www/public_html/cron/run.php update_rates > /dev/null & 59 * * * * php /var/www/public_html/cron/run.php snapshot_plans_differences > /dev/null & # -- batch 1 5 0,6,12,18 * * * php /var/www/public_html/cron/run.php update_plans_4change > /dev/null & 15 0,6,12,18 * * * php /var/www/public_html/cron/run.php update_plans_acacia > /dev/null & 25 0,6,12,18 * * * php /var/www/public_html/cron/run.php update_plans_american > /dev/null & 35 0,6,12,18 * * * php /var/www/public_html/cron/run.php update_plans_amigo > /dev/null & 45 0,6,12,18 * * * php /var/www/public_html/cron/run.php update_plans_apge > /dev/null & 55 0,6,12,18 * * * php /var/www/public_html/cron/run.php update_plans_centerpoint > /dev/null & # -- batch 2 5 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_champion > /dev/null & #15 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_chariot > /dev/null & 25 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_cpl > /dev/null & 35 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_direct > /dev/null & 36 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_direct biz > /dev/null & 45 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_vista > /dev/null & 55 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_entrust > /dev/null & # -- batch 3 5 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_poweroftexas > /dev/null & 15 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_first > /dev/null & 25 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_frontier > /dev/null & 35 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_gexa > /dev/null & 45 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_harbor > /dev/null & 55 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_hello > /dev/null & # -- batch 4 5 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_iberdrola > /dev/null & 15 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_infinite > /dev/null & 25 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_just > /dev/null & 35 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_life > /dev/null & 45 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_nextera > /dev/null & 55 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_now > /dev/null & # -- batch 5 5 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_nrg > /dev/null & 10 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_nrg usn > /dev/null & 15 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_payless > /dev/null & 25 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_public > /dev/null & 35 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_pulse > /dev/null & 36 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_newpower > /dev/null & 45 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_pogo > /dev/null & 55 4,9,16,22 * * * php /var/www/public_html/cron/run.php update_plans_powerexpress > /dev/null & # -- batch 6 5 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_starion > /dev/null & 15 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_tara > /dev/null & 18 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_titan > /dev/null & #25 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_texans > /dev/null & 25 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_tomorrow > /dev/null & 35 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_trieagle > /dev/null & 45 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_txu > /dev/null & #55 5,11,17,23 * * * php /var/www/public_html/cron/run.php update_plans_veteran > /dev/null & # -- custom requests 0 0 * * * php /var/www/public_html/cron/run.php update_plans_spark > /dev/null & 0 5 * * * php /var/www/public_html/cron/run.php update_plans_verde > /dev/null & 0 10 * * * php /var/www/public_html/cron/run.php update_plans_major > /dev/null & 0 15 * * * php /var/www/public_html/cron/run.php update_plans_provider > /dev/null & 25 10 * * * php /var/www/public_html/cron/run.php update_plans_five > /dev/null & 35 * * * * php /var/www/public_html/cron/run.php update_plans_varsity > /dev/null & 45 * * * * php /var/www/public_html/cron/run.php update_plans_chariot > /dev/null & # -- consty behemoth 10 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_constellation ct > /dev/null & 20 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_constellation dc > /dev/null & 30 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_constellation ga > /dev/null & 40 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_constellation il > /dev/null & 50 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_constellation ma > /dev/null & 10 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_constellation md > /dev/null & 20 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_constellation mi > /dev/null & 30 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_constellation nj > /dev/null & 40 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_constellation nh > /dev/null & 50 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_constellation ny > /dev/null & 10 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_constellation oh > /dev/null & 20 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_constellation pa > /dev/null & 30 3,9,15,21 * * * php /var/www/public_html/cron/run.php update_plans_constellation ri > /dev/null & 0 1,7,13,19 * * * php /var/www/public_html/cron/run.php update_plans_constellation tx > /dev/null & 0 2,8,14,20 * * * php /var/www/public_html/cron/run.php update_plans_constellation biz > /dev/null & # ================================ # ======== PLAN SCRAPES ========== #0 4 * * * php /var/www/public_html/cron/run.php scrapePlans AB > /dev/null & #5 4 * * * php /var/www/public_html/cron/run.php scrapePlans IL > /dev/null & #10 4 * * * php /var/www/public_html/cron/run.php scrapePlans MA > /dev/null & #15 4 * * * php /var/www/public_html/cron/run.php scrapePlans MD > /dev/null & #20 4 * * * php /var/www/public_html/cron/run.php scrapePlans MI > /dev/null & #25 4 * * * php /var/www/public_html/cron/run.php scrapePlans OH > /dev/null & #30 4 * * * php /var/www/public_html/cron/run.php scrapePlans PA > /dev/null & #35 4 * * * php /var/www/public_html/cron/run.php scrapePlans TX > /dev/null & # ================================ # ========= LANDO CACHE ========== 0 * * * * php /var/www/public_html/cron/run.php clean_cached_pages > /dev/null & * * * * * php /var/www/public_html/cron/run.php update_cached_pages > /dev/null & # =============================== # ======== FLANK CACHE ========== 1 * * * * php /var/www/public_html/cron/run.php update_flank_cache atlantagasrates > /dev/null & 2 * * * * php /var/www/public_html/cron/run.php update_flank_cache dallaselectricityrates > /dev/null & 3 * * * * php /var/www/public_html/cron/run.php update_flank_cache orderconstellation > /dev/null & 4 * * * * php /var/www/public_html/cron/run.php update_flank_cache constellationenergydeals > /dev/null & #zfs list -H -o name -t snapshot | xargs -n1 zfs destroy