Humphrey van Polanen Petel writes on January 14, 2016 4:20:
> re cron -- how do I raise this as a bug/feature request?
Look for the implementation of cron you are using (dcron?) then search
for them, I do not know, they are completely separete from
gnome-schedule. Maybe google a little about why
marked as duplicate of Bug #1534377
please close
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532999
Title:
cron does not read $PATH or Gnome Schedule doco is insufficient
To manage
Humphrey van Polanen Petel writes on January 13, 2016 0:35:
> Yes, it now works as it should. Thanks.
>
> But, my original complaint still stands:
>
> 1 - cron does not read $PATH, but should.
There are secuirty reasons and other implementation difficulties for
that, usually it is not a big
re cron -- how do I raise this as a bug/feature request?
re Gnome Scedule doco -- sorry, but writing docs is serious business and
I know too little about what is going on
re general doco -- I will just keep plodding along
Anway, thank you, Gaute
--
You received this bug notification because
Yes, I do use the full path to bup
Gnome _schedule command preview=/usr/local/bin/bup && tail -f /var/mail
and /usr/local/bin is where bup is
/usr/local/bin/bup is executable, as is evidenced by me being able to do
a "run selected task" in Gnome _schedule
You say "The preview runs in is not
humphrey@David:~$ /bin/sh
$ exit
humphrey@David:~$ cat /usr/local/bin/bup
#!/bin/bash
# file: bup
# date: 2016-01-12
echo "backup to network drive"
echo "*"
echo ""
echo "Desktop"
echo "*"
cp --backup=simple -r -u -v
Ok. It would not work with just 'bup' since cron does not read $PATH.
Also, tail -f /var/mail/humphrey does not clear the previous log so you
would get the same error every time in your log file, even though the
command works correctly. A better way is:
/usr/local/bin/bup > /path/to/logfile
Yes, it now works as it should. Thanks.
But, my original complaint still stands:
1 - cron does not read $PATH, but should.
2 - Gnome Scedule doco is insufficient.
As a side comment, I do know that coming to Linux incurs a steep learning
curve, but what I have seen of it so far tells me that