Bon's chaotic notes
Various notes mostly about computers
2011-09-14
Setting shell in crontab
I didn't know until now, that you can set a shell in crontab, ignoring whatever shell is set for the crontab's user.
SHELL=/bin/bash
This can be useful, if you have to rely on a certain shell or environment for whatever reason.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment