Rinto Posted July 12, 2019 Share Posted July 12, 2019 Hi, cd /var/www/html/googleplaystore-root-folder && php artisan schedule:run >> /dev/null 2>&1 This is the code developer gave me to add to the cronjob. and the location of my script is /home/vvkpexpj/public_html/example.com Do i need to make any changes to the cronjob code he given.? i had copy pasted the code same as what he gave, but its not working Quote Link to comment Share on other sites More sharing options...
gw1500se Posted July 12, 2019 Share Posted July 12, 2019 This is not a PHP question. That is just the command to run. You need to determine when and how often you want to run that job. You need to precede the command with the time format string when you edit the cron table (crontab -e). Quote Link to comment Share on other sites More sharing options...
requinix Posted July 12, 2019 Share Posted July 12, 2019 Don't just copy and paste stuff people give you. Understand what the command is actually doing, then you should be in a better shape to know if it needs changes and what they are. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.