first commit
This commit is contained in:
15
plugins/stPriceHistoryPlugin/config/config.php
Normal file
15
plugins/stPriceHistoryPlugin/config/config.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
if (floatval(phpversion()) >= 7.1)
|
||||
{
|
||||
stTaskConfiguration::addTask(
|
||||
'price_history', // unikalne id zadania
|
||||
'stPriceHistoryTask', // klasa zadania
|
||||
'Aktualizacja historii cen', // Nazwa zadania jaka będzie wyświetlana w panelu lub w logach
|
||||
array(
|
||||
'time_interval' => stTaskConfiguration::TIME_INTERVAL_1DAY, // odstęp czasowy
|
||||
'execute_at' => '00:11:00', // wykonaj zadanie po północy (z tolerancją +/- 10 min)
|
||||
'is_system' => true, // zadanie systemowe nie może być zmieniane przez użytkownika
|
||||
//'frontend' => true // zadanie wykonywane z SF_APP = frontend
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user