-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update crontab $PATH #155
Update crontab $PATH #155
Conversation
|
Cron's default path is actually pathnames.h:# define _PATH_DEFPATH "/usr/bin:/bin". Where do you get that it is PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin? |
|
From |
|
I'm sold. I found that the #define I found was #ifndef _PATH_DEFPATH, which is set globally. |
|
r334909 |
|
And thanks! |
daemon, for consistency. Submitted by: Ben RUBSON Pull Request: #155 git-svn-id: svn+ssh://svn.freebsd.org/base/head@334909 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
daemon, for consistency. Submitted by: Ben RUBSON Pull Request: #155
|
Thank you too @bsdimp 馃憤 |
|
11.2, impossible. |
daemon, for consistency. Submitted by: Ben RUBSON Pull Request: freebsd#155 git-svn-id: https://svn.freebsd.org/base/head@334909 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
daemon, for consistency. Submitted by: Ben RUBSON Pull Request: freebsd#155 git-svn-id: svn+ssh://svn.freebsd.org/base/head@334909 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
daemon, for consistency. Submitted by: Ben RUBSON Pull Request: freebsd/freebsd-src#155 git-svn-id: svn+ssh://svn.freebsd.org/base/head@334909 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
daemon, for consistency. Submitted by: Ben RUBSON Pull Request: freebsd/freebsd-src#155
Set the $PATH in /etc/crontab like it is set by the cron(8) daemon, for consistency. Submitted by: Ben RUBSON Pull Request: #155
Set the $PATH in /etc/crontab like it is set by the cron(8) daemon, for consistency. Submitted by: Ben RUBSON Pull Request: freebsd#155 git-svn-id: https://svn.freebsd.org/base/stable/11@342103 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Hi,
This PR sets
$PATHin/etc/crontablike it is set by thecron(8)daemon, for consistency.It then solves https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213742.
Thank you 馃憤
Ben