Created
April 29, 2016 11:11
-
-
Save xezpeleta/4162599fc696ce6be7cb2b43387e493f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
## | |
# update-drupal.sh It will update your Drupal installation using the utility Drush http://www.drush.org | |
# To keep your Drupal updated, you can copy this script into your /etc/cron.daily directory | |
# Don't forget to add execution right and remove ".sh" extension from the filename. | |
## | |
cd /var/www/mydrupalsite | |
drush up -y | |
echo "\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment