Hi. Can anybody please help with adding cron job on godaddy hosting in order to use Laravel's task scheduler. While adding the cron job i'm providing this command ** * * * * * php /path/to/artisan schedule:run 1>> /dev/null 2>&1** with relevant path, but it throws an error ** "-":1: bad command **. Please help
yes I was just trying to apply macrkdown)) Thanks for the link. Now I achieved to add cron without any error. But my commands doesn't work. Maybe it's because of wrong path or something.
I still couldn't make my commands work. I successfully added a cron but it doesn't work. I think the path that i'm specifying is not correct. php -d register_argc_argv=On /home/projectname/artisan schedule:run 1>> /dev/null 2>&1 . Any suggestions? Maybe there is a log files for cron. But I couldn't find it. Please help :(