I have two cron tasks running on my Symfony project and the first one is running correctly but in second, log file writes and error: /bin/sh: 1: *: not found and I don’t know what can be cause of problem.. * * * * * /usr/local/bin/php /var/www/html/bin/console app:check-status >> /var/www/html/var/log/post.errors.cron.log 2>&1; * * * * ..
I have problem when running cron task in Symfony. I tried command that it’s set to run manually and it work but when I set cron it does not. I have two cron jobs in crons file and the first one works but second does not. Is the problem with the file or I have ..
I have been looking for solution to schedule a job within a symfony with usage of doctrine-odm but couldn’t find anything. Someone seen something that may help with it? I tried using jmose/command-scheduler-bundle but it seems it doesn’t support odm. Source: Symfony..
I am currently working on the project that has over 20 cron jobs. Some of them are pretty long processes. It was built on Symfony 2.8, so we decided to upgrade it to 3.4 LTS. After the upgrade we noticed that, if there is ongoing cron job (long process) and we push some changes to ..
I am new to Symfony, Facing problem while trying to run the cron job. I am really clueless, whats wrong here. It seems that I am trying to access some functions present in app/config/functions.php from the global namespace, But I can’t figure out which namespace is it. Following is my code. <?php namespace AppCommand; use ..