开发者

Keep Drupal updated

I am trying to keep a couple of Drupal sites updated and I tired of the whole process. I recently find out about Drush and I was wondering if ther开发者_C百科e is a module or a CRON command I can setup to keep the sites updated for me.

Thank you.


I can see why you would want to automatically update your site, but doing so with or without drush is not advisable.

Not all module updates are backwards compatible (eg. ctools) and not all combinations of modules work together - drush does not take this into account - it just updates regardless. Add to this the possibility that the developer of a module accidentally adds another error as he or she fixed an exiting one.

Therefore you really need to test your site everytime you update a module to verify that everything works as intended. The convenience of autoupdates via cron doesn't really outweigh the troubles if clients call you up because the site crashed.


Add this to your crontab to get Drush to update your Drupal copy everyday at 12:01 PM:

1 12 * * * drush -y up
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜