cron does not read $PATH or Gnome Schedule doco is insufficient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-schedule (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
PATH=/usr/
Gnome _schedule command preview=
/usr/local/bin contains bin
log contains
--
Content-Type: text/plain; charset=
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/
X-Cron-Env: <PATH=/
X-Cron-Env: <LOGNAME=humphrey>
Message-Id: <20160110054001
Date: Sun, 10 Jan 2016 16:40:01 +1100 (AEDT)
/bin/sh: 1: bup: not found
--
either
cron does not read PATH
or
Gnome Schedule doco is insufficient for me to understand where to put the script that I want to be run
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-schedule 2.1.1-4
ProcVersionSign
Uname: Linux 3.16.0-57-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jan 12 10:31:47 2016
ExecutablePath: /usr/share/
InstallationDate: Installed on 2015-09-08 (125 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
SourcePackage: gnome-schedule
UpgradeStatus: No upgrade log present (probably fresh install)
do you use the full path to bup in gnome-schedule? The environment that
the preview runs in is not exactly the same as the cron environment, you
have to specify the PATH on that line in that case. Also, is
/usr/local/bin/bup marked executable?