mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Some notes.
This commit is contained in:
@@ -79,7 +79,6 @@ class SubmitTelemetryData implements ShouldQueue
|
||||
return;
|
||||
}
|
||||
|
||||
$body = '{}';
|
||||
$json = $this->parseJson($telemetry);
|
||||
try {
|
||||
$body = json_encode($json, JSON_THROW_ON_ERROR, 512);
|
||||
|
@@ -93,6 +93,9 @@ class TelemetryCronjob extends AbstractCronjob
|
||||
$job->setDate($this->date);
|
||||
$job->setForce($this->force);
|
||||
$job->handle();
|
||||
|
||||
// TODO remove old, submitted telemetry data.
|
||||
|
||||
app('fireflyconfig')->set('last_tm_job', (int) $this->date->format('U'));
|
||||
Log::info('Done with telemetry cron job task.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user