Skip to content

Commit

Permalink
added script file for cron on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
neshanth committed Sep 24, 2024
1 parent 4f99e56 commit 13640a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected function schedule(Schedule $schedule)

DB::table('tasks')->insert($tasks);
}
})->daily();
})->everyMinute();
}

/**
Expand Down
2 changes: 2 additions & 0 deletions script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
/usr/bin/php /home/u112411488/public_html/api-dev/artisan schedule:run >> /dev/null 2>&1
Empty file removed where(user_id
Empty file.

0 comments on commit 13640a2

Please sign in to comment.