Seed script, how to run that from cron utility?

DavidLoevy posted 11 months ago

hi friends, pls I need your help ... I have a PHP/Laravel script created for update data as seed process. This script is located in:


and I can run this (on local) via command:

E:\WebServers\Project> php artisan db:seed --class=DbUpdateTableSeeder

Now I would want use (on webhosting) this script and run it by "cron" (once a week). Is it possible to run Laravel "seed" script via "cron" utility? What command have I build? Pls some example(s).

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us