Symfony-Bundle
Symfony-Bundle copied to clipboard
which command?
Hello
I should know the command for load the fixtures. This is my cron job with your bundle
INSERT INTO `cron_job` (`id`, `name`, `command`, `schedule`, `description`, `enabled`) VALUES
(2, 'EleveCron', 'doctrine:fixtures:load --append', '*/3 * * * *', 'load fixtures every 3 min', 1);
this is my cron report
INSERT INTO `cron_report` (`id`, `job_id`, `run_at`, `run_time`, `exit_code`, `output`) VALUES
(1, 2, '2020-05-01 12:42:45', 0.50212001800537, 1, ''),
(2, 2, '2020-05-01 20:09:00', 0.29044103622437, 1, ''),
(3, 2, '2020-05-01 20:12:00', 0.32111287117004, 1, ''),
(4, 2, '2020-05-01 20:12:18', 0.28472805023193, 1, ''),
(5, 2, '2020-05-01 20:15:00', 0.34058713912964, 1, ''),
(6, 2, '2020-05-01 20:15:00', 0.31089615821838, 1, ''),
(7, 2, '2020-05-01 20:18:00', 0.35289192199707, 1, ''),
(8, 2, '2020-05-01 20:18:00', 0.35297203063965, 1, ''),
but the fix are not loaded. I thinks this command is not good?
php bin/console doctrine:fixtures:load --append
doctrine:fixtures:load --append
another command?
thanks you