11-17-2015
First thing I notice is that you are redirecting the output of a script to /dev/null in crontab which does not make much sense to me.
Second, it is a bit difficult to guess what is your script doing without knowing anything it does inside.
Is the same user executing the crontab and the same user that executes the script manually?
10 More Discussions You Might Find Interesting
1. Solaris
Does any one knows a work around for the crontab bug when connecting using ssh to a Solaris 8 system?
When you submit a crontab job through a ssh session, the job will not be executed, SunSolve has reported no fixing patches? (3 Replies)
Discussion started by: Negm
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
..first post !
I have a Unix v445 using solaris 10. I've trolled through various web pages but can't find exactly what I'm looking for.
I have an alert log...or any messages file for that matter I need to check for certain key (error type) phrases - if I find them, they are redirected to... (11 Replies)
Discussion started by: davidra
11 Replies
3. Shell Programming and Scripting
Hi,
I am having trouble with this script. It is suppose to send me an email when the specified tablespace is 60% full. I run it but nothing happens
FREESPACELOG=/home/oracle/scripts/bin/free_space/freespace.sql
email=bob@bob.edu
subject="PROD: Tablespace Free Space"
cmd="mailx -s... (1 Reply)
Discussion started by: shaseeb
1 Replies
4. Shell Programming and Scripting
hi all,
how do i email a file in the body of an email rather than as an attachment ??
have a ksh script which i need to read a file and email as part of the body rather than an attachment.
my code is :
uuencode file.log | mailx -s "test"
but this sends file as an attachment.
... (2 Replies)
Discussion started by: cesarNZ
2 Replies
5. UNIX for Dummies Questions & Answers
Hi there,
I'm using crontab to move some files every minute, but when crontab doesn't find these files it sends a message to the file "user_name" in the directory "var/spool/mail". Is it possible to "bypass" this problem?
Thanks in advance,
Giordano Bruno (1 Reply)
Discussion started by: Giordano Bruno
1 Replies
6. Fedora
Hi there,
I'm working with two servers, one with FEDORA 6 and the other one with FEDORA 7, and if I put these lines in crontab:
MAILTO=MYADDRESS@mail.com
*/1 * * * * df -h
everything works fine on FEDORA 7 , while it doesn't work on6?!?...and I find this message in the log file:
MAIL... (2 Replies)
Discussion started by: Giordano Bruno
2 Replies
7. UNIX for Dummies Questions & Answers
while we editing the cron at the end of the cron what is the purpose of giving 2 >&1 (4 Replies)
Discussion started by: senmak
4 Replies
8. Solaris
Hello Guru's
I'm trying to take the output of solaris top command and output to a txt file every few minutes. The issue that I'm experiencing is that I can run the following:
#!/bin/bash
#
logfile="/usr/mvf/morris/top.log"
# echo... (2 Replies)
Discussion started by: littlemorris
2 Replies
9. UNIX for Dummies Questions & Answers
HI,
I am using centos 6 and finding difficultly in doing 2 below things.
1. i have a user praveen i want to allow him to create cron job of his own. so i have added his user id in cron.allow but still it is not allowing him to edit(even if i have created praveen from root user) or create his... (4 Replies)
Discussion started by: praveenkumar198
4 Replies
10. Shell Programming and Scripting
Hi All,
The following databse table maintains
VENDOR and EMAIL details.
VENOR_NAME VENDOR_EMAIL
DELL surendra@dell.com
HP rajkamal@hp.com
ACER sumathi@acer.com
NOKIA kunal@nokia.com
SONY sinu@sony.com
We have to find emaild id of a vendor based... (7 Replies)
Discussion started by: ROCK_PLSQL
7 Replies
LEARN ABOUT DEBIAN
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)