Closed kanhaiyam closed 3 years ago
@kanhaiyam Which version of Totem are you running? I've seen this once before and it had to do with cache. There was an update to Totem a little while ago to bust the cache. As a quick suggestion try running the following on the server:
php artisan cache:clear
@qschmick I am using v8.1.4
it is not an issue with cache. The BustCache and BuildCache events are working fine as expected. The result for php artisan schedule:list
is as expected with all the scheduled tasks being listed.
@qschmick Found the solution.
Actually what was happening was totem while executing tasks creates a temp log file at storage/app/totem/, which shell
didn't have access for.
Fixed the file/folder permission and the totem scheduler started working.
What I don't get is why it is creating a file in the first place if it is mean to be deleted later after execution.
I have a bunch of Commands scheduled in totem. Totem works fine on the surface firing the commands, but it doesn't executes the actual command. It logs the executing and executed stages of the task, but the actual command doesn't gets executed. Also there is no entry for the task in task_results. Totem executed the task successfully according to logs but it didn't actually execute it.