Hi
I have written a shell script(in Solaris) in which following logic is there.....
i=1
while read control
do
key=`echo $control | awk -F$DELIMITOR '{ print $1 }'`
echo "Key Values" ${key}
i=`/usr/bin/expr $i + 1`
done < $CONFPATH/$CONFFILE
when i execute it at prompt it... (4 Replies)
Hi ,
I am trying to execute the following script.
#!/bin/sh
find . -name "common.log.diff"
if ; then
cp common.log common.log.diff
diff common.log common.log.diff > DIFFERENCE.log
cp common.log common.log.diff
grep "ERROR" DIFFERENCE.log
if ; then
echo "1"
else
echo "0"
fi... (5 Replies)
Hi,
I have the below job scheduled in crontab. Can you please tell me at what interval this job is scheduled? Where is the name of the job defined here? I will definitely go through the UNIX documentation a little later, for the time being, please provide me few details on this. Thank you.
... (0 Replies)
I am relatively new to this forum and Unix scripting.
ksh script:
part 1 :will call a PL\SQL program will create 3 CSV file at the unix directory.
part 2 : will sftp the files to the EFT server.
Once the EFT server receives these file , it will transfer them to a shared windows folders.
... (3 Replies)
Hi all,
I'm working to a script with /bin/bash shebang.
The script works perfectly if I run from command line.
The script runs under a non root user and inside the commands are set with sudo command in a such a way they can be run under root, for example (first rows of the script):... (5 Replies)
i have a job scheduled in crontab. The problem is, it is not running automatically as per the time scheduled. But runs when executed manually. What would be the problem? Help me with this please. (6 Replies)
Hi Forum,
Good Day!
I have created an empty html file wtih permissoin 777
created shell script(with permission 777) , code is below.
#=======================start==============
. /data09/oracle/apps_st/appl/D_oraapp095.env
rm -rf /home/mnp/Test_log.txt
echo... (1 Reply)
i have written one script which is working fine when i run it manually but giving error when i schedule it in crontab.
cat SUMMARY.sh
#!/bin/bash
DT1=`date +%Y%m%d`
echo "Off PP TT" >>summary_$DT1.txt
cat ues1.txt_$DT1 >>summary_$DT1.txt
cat ues2.txt_$DT1... (2 Replies)
Discussion started by: scriptor
2 Replies
LEARN ABOUT OSX
subscriptions.conf
subscriptions.conf(5) Apple Inc. subscriptions.conf(5)NAME
subscriptions.conf - subscriptions file for cups
DESCRIPTION
The subscriptions.conf file defines the local subscriptions that are active. It is normally located in the /etc/cups directory and is gen-
erated automatically by the cupsd(8) program when subscriptions are created, renewed, or cancelled.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
<Subscription NNN> ... </Subscription>
Defines a subscription.
Events name [ ... name ]
Specifies the events that are subscribed.
ExpirationTime unix-time
Specifies the expiration time of a subscription as a UNIX time value in seconds since January 1st, 1970.
Interval seconds
Specifies the preferred time interval for event notifications in seconds.
JobId job-id
Specifies the job ID associated with the subscription.
LeaseDuration seconds
Specifies the number of seconds that the subscription is valid for. If 0, the subscription does not expire.
NextEventId number
Specifies the next notify-sequence-number to use for the subscription.
NextSubscriptionId number
Specifies the next subscription-id to use.
Owner username
Specifies the user that owns the subscription.
PrinterName printername
Specifies the printer or class associated with the subscription.
Recipient uri
Specifies the notify-recipient-uri value for push-type notifications.
UserData hex-escaped-data
Specifies user data to be included in event notifications. This is typically the "from" address in mailto: notifications.
SEE ALSO classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), printers.conf(5)
http://localhost:631/help
COPYRIGHT
Copyright 2007-2013 by Apple Inc.
30 April 2006 CUPS subscriptions.conf(5)