Sponsored Content
Full Discussion: Crontab command help
Top Forums UNIX for Dummies Questions & Answers Crontab command help Post 302949324 by thinkingeye on Thursday 9th of July 2015 10:18:19 AM
Old 07-09-2015
In the putty emulator as i log in at the $ prompt

Last edited by rbatte1; 07-09-2015 at 12:22 PM.. Reason: ICODE tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Having Problem with crontab command

Hi all , When i am tryting to execute crontab from home directory for a shell script which is located in some directory it is giving a error message The crontab file is 0 9-17 * * 1-5 /mydir/myshell The following output is given Your "cron" job /mydir/myshell produced the following... (1 Reply)
Discussion started by: arunava_maity
1 Replies

2. UNIX for Advanced & Expert Users

crontab command not working

Dear Friends, I have tried to fire a job on daily basis through crontab command but it willn't work. i have given in the following manner: 07 19 * * * exp /user_name/passwd/ file = /path/file-name full = N owner = user-name but it is giving error that permission denied. i have checked that... (8 Replies)
Discussion started by: digant
8 Replies

3. UNIX for Dummies Questions & Answers

getting the date in crontab command

Hi All, There is a requirement to create a file everyday using the cronjob with the date as its name. any suggestions for the crontab command that'll serve this purpose? e.g. 02 30 * * * touch abcd.`date +%d.%m.%y` needless to say.. this doesn't work.. looking fwd to lots of... (7 Replies)
Discussion started by: pranavagarwal
7 Replies

4. Shell Programming and Scripting

crontab + exec command

hi I am trying to activate auto_run.sh from crontab using following command line but nothing happen. 35 11 * * * -exec /u/uniacc/auto_run.sh and this is the first line of auto_run.sh ksh exec auto_inv.4ge > kti (4 Replies)
Discussion started by: naushad
4 Replies

5. Shell Programming and Scripting

command faster in crontab..

Hi all you enlightened unix people, I've been trying to execute a perl script that contains the following line within backticks: `grep -f patternfile.txt otherfile.txt`;It takes normally 2 minutes to execute this command from the bash shell by hand. I noticed that when i run this command... (2 Replies)
Discussion started by: silverlocket
2 Replies

6. Shell Programming and Scripting

crontab doesn't allow `command` ??

Dear All, We wrote a script to clean email mailbox when they're nearly full and put it in cron : 0 0 * * * /root/quota/autoclean.sh > /root/quota/autoclean.`date '+%Y%m%d'` 2>&1 I've run this command from command prompt, it did work. However, if running from cron, it returned such error... (1 Reply)
Discussion started by: tiger2000
1 Replies

7. Shell Programming and Scripting

date command issue from crontab

Hello Experts, I am facing problem in date command with TZ test.sh Output : 26-May-2010 27-May-2010 I scheduled this script everyday at 1 a.m 00 01 * * * sh test.sh when i was called this script test.sh from crontab , it was giving me other output (1 Reply)
Discussion started by: pritish.sas
1 Replies

8. Shell Programming and Scripting

date command issue from crontab

Hi Expert, I am using TZ for extracting yesterday date and day before yesterday date example : date_yes=`TZ="GMT+28" date +'%d-%b-%Y'` date_dbyes=`TZ="GMT+48" date +'%d-%b-%Y'` echo $date_yes $date_dbyes 26-May-2010 27-May-2010 I have written a small script for the same named... (1 Reply)
Discussion started by: pritish.sas
1 Replies

9. HP-UX

rcp command is not working in crontab

Dear Friends, I am trying to copy SAP log file from one HPux server1 to another HPux server2 remotely through one script. following command has written in the script. rcp -rp /oracle/PRD/sapreorg/*.dbf oraprd@drsite:/oracle/PRD/sapreorg Above command working fine from command mode.... (5 Replies)
Discussion started by: BPANDEY
5 Replies

10. AIX

Crontab command

Hello, Could someone help me with crontab command form on AIX? :wall: Thank you, (6 Replies)
Discussion started by: rimob
6 Replies
X3270IF(1)						      General Commands Manual							X3270IF(1)

NAME
x3270if - command interface to x3270, c3270 and s3270 SYNOPSIS
x3270if [ -v ] action [ ( param [ ,... ] ) ] x3270if [ -v ] -s field x3270if -i DESCRIPTION
x3270if provides an interface between scripts and the 3270 emulators x3270, c3270, and s3270. x3270if performs one of three functions. In action mode (the default), it passes a single action and optional parameters to the emulator for execution; the result of the command is written to standard output. In status mode, it reports to standard output the value of one of the emulator's status fields. In iterative mode, it forms a continuous conduit between a script and the emulator. OPTIONS
-v Turns on verbose debug messages, showing the literal data that is passed between the emulator and x3270if. -s field Puts x3270if in status mode: it outputs the value of an emulator status field. Field is an integer in the range 0 through 11. The value 0 is a no-op and is used only to return exit status indicating the state of the emulator. The indices 1-11 and meanings of each field are documented on the x3270-script(1) manual page. -i Puts x3270if in iterative mode. Data from x3270if's standard input is copied to the emulator's script input; data from the emula- tor's script output is copied to x3270if's standard output. x3270if runs until it detects end-of-file on its standard input or on the output from the emulator. (This mode exists primarily to give expect(1) a process to run, on systems which do not support bidi- rectional pipes.) EXIT STATUS
In action mode, if the requested action succeeds, x3270if exits with status 0. If the action fails, x3270if exits with status 1. In iter- ative mode, x3270if exits with status 0 when it encounters end-of-file. If there is an operational error within x3270if itself, such as a command-line syntax error, missing environment variable, or an unexpectedly closed pipe, x3270if exits with status 2. ENVIRONMENT
x3270, c3270, and s3270 use a pair of pipes for communication with each child process. The values of the file descriptors for these pipes are encoded as text in two environment variables, which are required by x3270if: X3270OUTPUT Output from the emulator, input to the child process. X3270INPUT Input to the emulator, output from the child process. SEE ALSO
x3270(1), c3270(1), s3270(1), x3270-script(1) COPYRIGHT
Copyright 1999, 2000 by Paul Mattes. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. 01 May 2002 X3270IF(1)
All times are GMT -4. The time now is 04:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy