I've switched to this but I can't find the date binary. Does anyone
know the full path for date?
$ which date
/bin/date
$ qfile date
sys-apps/coreutils (/bin/date)
Thank you everyone. I think it's working now.
- Grant
Am 20.06.2011 00:37, schrieb Grant:
One of my systems has a crontab like this to clean up and consolidate
the output of the video monitoring app motion:
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010)
I might be wrong but as I understand it, cron executes your commands in
/bin/sh, not /bin/bash.
/bin/sh is a symlink to bash.
On Mon, 20 Jun 2011 16:30:12 +1000, Adam Carter wrote:
I might be wrong but as I understand it, cron executes your commands
in /bin/sh, not /bin/bash.
/bin/sh is a symlink to bash.
Which runs as sh when run from the symlink.
--
Neil Bothwick
She's fine, upstanding, and wonderful
Am 20.06.2011 10:21, schrieb Neil Bothwick:
On Mon, 20 Jun 2011 16:30:12 +1000, Adam Carter wrote:
I might be wrong but as I understand it, cron executes your commands
in /bin/sh, not /bin/bash.
/bin/sh is a symlink to bash.
Which runs as sh when run from the symlink.
/bin/sh is a symlink to bash.
Which runs as sh when run from the symlink.
I dont understand. runs as usually means runs under the user
context to me - are you saying bash has an sh compatibility mode?
On Mon, 20 Jun 2011 20:39:00 +1000, Adam Carter wrote:
/bin/sh is a symlink to bash.
Which runs as sh when run from the symlink.
I dont understand. runs as usually means runs under the user
That's one possible use of the term, but English rarely has one meaning
per phrase.
context to
On Monday, June 20 at 20:39 (+1000), Adam Carter said:
I dont understand. runs as usually means runs under the user
context to me - are you saying bash has an sh compatibility mode?
Yes, when run as sh in POSIX mode (i.e. if it were called as bash
--posix).
Am 20.06.2011 12:39, schrieb Adam Carter:
/bin/sh is a symlink to bash.
Which runs as sh when run from the symlink.
I dont understand. runs as usually means runs under the user
context to me - are you saying bash has an sh compatibility mode?
Yes, that's exactly what he wants to say.
* Grant emailgr...@gmail.com [110619 18:09]:
One of my systems has a crontab like this to clean up and consolidate
the output of the video monitoring app motion:
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/grant/cron.root.txt installed on Sat Sep 25
On Mon, Jun 20, 2011 at 08:39:00PM +1000, Adam Carter wrote:
/bin/sh is a symlink to bash.
Which runs as sh when run from the symlink.
I dont understand. runs as usually means runs under the user
context to me - are you saying bash has an sh compatibility mode?
Yes, from the bash man
One of my systems has a crontab like this to clean up and
consolidate the output of the video monitoring app motion:
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010)
# (Cron version V5.0 -- $Id:
On Monday 20 June 2011 15:47:50 Grant wrote:
I've switched to this but I can't find the date binary. Does anyone
know the full path for date?
$ which date
/bin/date
$ qfile date
sys-apps/coreutils (/bin/date)
--
Rgds
Peter
On Sun, 19 Jun 2011 15:37:42 -0700, Grant wrote about [gentoo-user]
crontab not executing:
One of my systems has a crontab like this to clean up and consolidate
the output of the video monitoring app motion:
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
#
14 matches
Mail list logo