Cronjobs - Drush Error: /bin/bash: drush: command not found

"SQl Im port" via Crontab:

1      *       *       *       *       cd && cd httpdocs/ && drush sql:cli < db.sql -y 

 

Solution

1      *       *       *       *       cd && cd httpdocs/ && php -c ~/httpdocs/drush.ini ~/httpdocs/vendor/drush/drush/drush sql:cli < db.sql -y 

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare