forked from gitcoinco/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrontab
More file actions
60 lines (49 loc) · 5.86 KB
/
crontab
File metadata and controls
60 lines (49 loc) · 5.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
## SERVER ADMIN STUFF
15 3 * * * /usr/bin/certbot renew --quiet --renew-hook "/bin/systemctl reload nginx"
## BACKUPS
30 1 * * * cd gitcoin/coin; bash scripts/backup.bash >> /var/log/gitcoin/backup.log 2>&1
## GITCOIN WEB3 STUFF
##TODO: Re-enable this when Gitcoin GETH URL is synced.
1 * * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_geth mainnet 403 99999999999 >> /var/log/gitcoin/sync_geth.log 2>&1
#*/3 * * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_geth mainnet -10 0 >> /var/log/gitcoin/sync_geth_latest.log 2>&1
* * * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_listener mainnet >> /var/log/gitcoin/sync_listener.log 2>&1
12 */2 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_geth rinkeby -200 0 >> /var/log/gitcoin/sync_geth_rinkeby.log 2>&1
## TOOLING
1 */3 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash get_prices >> /var/log/gitcoin/get_prices.log 2>&1
45 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash refresh_bounties >> /var/log/gitcoin/refresh_bounties.log 2>&1
30 */5 * * * cd gitcoin/coin; bash scripts/run_management_command.bash refresh_bounties --remote >> /var/log/gitcoin/refresh_bounties_remote.log 2>&1
*/10 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash sync_gas_prices >> /var/log/gitcoin/sync_gas_prices.log 2>&1
1 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash sync_gas_guzzlers >> /var/log/gitcoin/sync_gas_guzzlers.log 2>&1
15 */6 * * * cd gitcoin/coin; bash scripts/run_management_command.bash sync_profiles >> /var/log/gitcoin/sync_profiles.log 2>&1
15 4 * * * cd gitcoin/coin; bash scripts/run_management_command.bash cleanup_db_space >> /var/log/gitcoin/cleanup_db_space.log 2>&1
15 5 * * * cd gitcoin/coin; bash scripts/sync_external_bounties.bash >> /var/log/gitcoin/sync_external_bounties.log 2>&1
15 6 * * * cd gitcoin/coin; bash scripts/run_management_command.bash clearsessions >> /var/log/gitcoin/clearsessions.log 2>&1
15 7 * * * cd gitcoin/coin; bash scripts/run_management_command.bash warn_when_wallet_out_of_eth >> /var/log/gitcoin/warn_when_wallet_out_of_eth.log 2>&1
*/8 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash send_tips_for_bounty_fulfiller >> /var/log/gitcoin/send_tips_for_bounty_fulfiller.log 2>&1
## REPORTING
1 1 1 * * cd gitcoin/coin; bash scripts/run_management_command.bash activity_report $(date --date='-1 month' +%Y/%m/%d) $(date +%Y/%m/%d) >> /var/log/gitcoin/activity_report.log 2>&1
## GITCOIN MARKETING
30 */6 * * * cd gitcoin/coin; bash scripts/run_management_command.bash sync_mail >> /var/log/gitcoin/sync_mail.log 2>&1
35 14 * * 1,6 cd gitcoin/coin; bash scripts/run_management_command.bash remarket_bounties >> /var/log/gitcoin/remarket_bounties.log 2>&1
35 11 * * 0,4 cd gitcoin/coin; bash scripts/run_management_command.bash remarket_bounties >> /var/log/gitcoin/remarket_bounties.log 2>&1
45 10 * * * cd gitcoin/coin; bash scripts/run_management_command.bash expiration >> /var/log/gitcoin/expiration_bounty.log 2>&1
15 10 * * * cd gitcoin/coin; bash scripts/run_management_command.bash expiration_start_work >> /var/log/gitcoin/expiration_start_work.log 2>&1
15 1 * * * cd gitcoin/coin; bash scripts/run_management_command.bash sync_keywords >> /var/log/gitcoin/sync_keywords.log 2>&1
40 */3 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_slack >> /var/log/gitcoin/sync_slack.log 2>&1
30 1 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_github >> /var/log/gitcoin/sync_github.log 2>&1
*/15 * * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash get_notifications >> /var/log/gitcoin/get_notifications.log 2>&1
15 10 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash bounty_feedback_email >> /var/log/gitcoin/bounty_feedback_email.log 2>&1
15 10 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash funder_stale_email 30 >> /var/log/gitcoin/funder_stale_email.log 2>&1
15 11 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash new_bounties_email >> /var/log/gitcoin/new_bounties_email.log 2>&1
15 * * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash pending_start_work_actions >> /var/log/gitcoin/pending_start_work_actions.log 2>&1
#0 0 1 */3 * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash send_quarterly_stats --live >> /var/log/gitcoin/send_quarterly_stats.log 2>&1
## INFRASTRUCTURE
*/15 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash warm_cache >> /var/log/gitcoin/warm_cache.log 2>&1
11 10 * * * cd gitcoin/coin; bash scripts/run_management_command.bash expiration_tip >> /var/log/gitcoin/expiration_tip.log 2>&1
1 10 * * 1 cd gitcoin/coin; bash scripts/run_management_command.bash assemble_leaderboards >> /var/log/gitcoin/assemble_leaderboards.log 2>&1
10 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash pull_stats >> /var/log/gitcoin/pull_stats.log 2>&1
10 3 * * * cd gitcoin/coin; bash scripts/run_management_command.bash pull_github >> /var/log/gitcoin/pull_github.log 2>&1
10 4 * * * cd gitcoin/coin; bash scripts/run_management_command.bash process_email_events >> /var/log/gitcoin/process_email_events.log 2>&1
10 * * * * cd gitcoin/coin; bash scripts/run_management_command.bash post_to_craigslist 1 >> /var/log/gitcoin/post_to_craigslist.log 2>&1
10 1 * * * cd gitcoin/coin; bash scripts/run_management_command.bash output_gas_viz >> /var/log/gitcoin/output_gas_viz.log 2>&1