Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. sudo crontab -e
  2.  
  3. # daemon's notion of time and timezones.
  4. #
  5. # Output of the crontab jobs (including errors) is sent through
  6. # email to the user the crontab file belongs to (unless redirected).
  7. #
  8. # For example, you can run a backup of all your user accounts
  9. # at 5 a.m every week with:
  10. # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
  11. #
  12. # For more information see the manual pages of crontab(5) and cron(8)
  13. #
  14. # m h dom mon dow command
  15.  
  16. * * * * * /usr/bin/php /var/www/html/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/html/magento/var/log/mage$
  17. * * * * * /usr/bin/php /var/www/html/magento/update/cron.php >> /var/www/html/magento/var/log/update.cron.log
  18. * * * * * /usr/bin/php /var/www/html/magento/bin/magento setup:cron:run >> /var/www/html/magento/var/log/setup.cron.log
  19.  
  20. /var/www/html/magento
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement