2025-07-21 22:02:38 +02:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
|
2025-07-23 22:08:42 +02:00
|
|
|
namespace Nischcodes\Shiftcalc\App\Task;
|
2025-07-21 22:02:38 +02:00
|
|
|
|
|
|
|
/**
|
2025-07-23 22:08:42 +02:00
|
|
|
* Backup
|
2025-07-21 22:02:38 +02:00
|
|
|
*
|
2025-07-23 22:08:42 +02:00
|
|
|
* cron task to backup all important data for this application
|
2025-07-21 22:02:38 +02:00
|
|
|
*
|
|
|
|
* PHP version 8.4 or higher
|
|
|
|
*
|
|
|
|
* LICENSE: GPL-3
|
|
|
|
*
|
|
|
|
* @package ShiftCalc
|
|
|
|
* @author nisch.codes <nischcodes@noreply.projects.nisch.codes>
|
|
|
|
* @copyright 2021 nisch.codes
|
|
|
|
* @license https://projects.nisch.codes/nischcodes/shiftcalc/src/branch/main/LICENSE GPL-3
|
|
|
|
* @version 1.0.0
|
|
|
|
* @link https://projects.nisch.codes/nischcodes/shiftcalc
|
|
|
|
*/
|
|
|
|
|
2025-07-23 22:08:42 +02:00
|
|
|
use Nischcodes\Shiftcalc\Task\BaseTask;
|
2025-07-21 22:02:38 +02:00
|
|
|
|
2025-07-23 22:08:42 +02:00
|
|
|
class BackupTask implements BaseTask {
|
2025-07-22 23:12:41 +02:00
|
|
|
|
2025-07-23 22:08:42 +02:00
|
|
|
public static function run() {
|
|
|
|
echo "I am running :)";
|
2025-07-21 22:02:38 +02:00
|
|
|
}
|
2025-07-22 23:12:41 +02:00
|
|
|
|
2025-07-21 22:02:38 +02:00
|
|
|
}
|