Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • this works well also for Acquia Cloud Scheduled jobs, which are basically cron jobs. You can do the same, like: SHELL=/bin/bash && source /home/YOUR_USER_NAME/.bash_profile && sh .... Commented Jan 22, 2019 at 17:58
  • Does SHELL=/bin/bash apply only to the cron that immediately follows, to all those that follow, or to the whole /etc/crontab? Commented Jun 19, 2021 at 18:27
  • @matteo the whole crontab where that line is found. Note there are other crontabs other than /etc/crontab Commented Dec 20, 2024 at 0:55