Files
investbrain/routes/console.php
T

36 lines
1019 B
PHP
Raw Normal View History

2024-08-01 13:53:10 -05:00
<?php
2024-09-01 21:33:16 -05:00
use Illuminate\Support\Facades\Schedule;
2024-09-05 21:21:18 -05:00
use App\Console\Commands\{RefreshMarketData, CaptureDailyChange, RefreshDividendData, RefreshSplitData, SyncHoldingData};
/**
*
* This scheduled job refreshes market data from your selected data provider
* Update the cadence with the MARKET_DATA_REFRESH key in your env file
*/
2024-09-13 20:31:56 -05:00
Schedule::command(RefreshMarketData::class)->everyMinute()->weekdays();
2024-09-05 21:21:18 -05:00
/**
*
* This scheduled job records daily changes to your portfolios every weekday
*/
2024-09-13 20:31:56 -05:00
Schedule::command(CaptureDailyChange::class)->daily()->weekdays();
2024-09-05 21:21:18 -05:00
/**
*
* Refreshes dividend data for your holdings (and syncs new dividends to holdings)
*/
2024-09-13 20:46:16 -05:00
Schedule::command(RefreshDividendData::class)->daily()->weekdays();
2024-09-05 21:21:18 -05:00
/**
*
* Refreshes split data for your holdings (and creates new transactions for new splits)
*/
2024-09-11 22:00:49 -05:00
Schedule::command(RefreshSplitData::class)->weekly();
2024-09-05 21:21:18 -05:00
/**
*
* Periodically reconciles your holdings with transactions and dividends
*/
Schedule::command(SyncHoldingData::class)->yearly();