Jump to content
Rinto

Cronjob Error

Recommended Posts

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

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.