Sponsored Content
Full Discussion: Creating a batch file.
Top Forums UNIX for Dummies Questions & Answers Creating a batch file. Post 3191 by Micky on Tuesday 26th of June 2001 08:40:29 AM
Old 06-26-2001
Batch files

Hi,

You can use crontab to schedule your batch file. Type "man crontab" for the manual. I can't help you with the batch file since my boss would kill me if I am not doing my work but yours Smilie, but you can type normal command line commands in a file, and make it executable ( use chmod ), and then you can run it.

I hoped this helped you at least to get started...
 

9 More Discussions You Might Find Interesting

1. IP Networking

batch file

my requirment is i have to call a batch file from a c++ program that batch file is called with the argument as print.txt print.txt is a text file which should get printed on printer (any printer) when a batch file call is made 1) how to call a batch file in c++ 2) how to print the text... (1 Reply)
Discussion started by: ramneek
1 Replies

2. Programming

batch file

what is a command to call a batch file from a c++ program when called with the argument which is a text file, then how to print that text file on a printer. please help me with code if possible (3 Replies)
Discussion started by: ramneek
3 Replies

3. UNIX for Advanced & Expert Users

rename the file in batch

In my dir there are files like a.xml b.xml abnc.xml 12.abc.xml 12.anc.sfoioi.xml I need to remove .xml from all the files Is there any direct way without using any for/do loop Right now i am using for file in * do ... (7 Replies)
Discussion started by: reldb
7 Replies

4. UNIX for Dummies Questions & Answers

/bin/sh for creating batch file....?

hi to aLL... I'm just new here in the forum...anyway, im currently using /bin/sh for creating some batch file or scripts...it's just the same...anyway, is it advisable to use it in creating batch file....? thanks... :p (0 Replies)
Discussion started by: m0njasper
0 Replies

5. Windows & DOS: Issues & Discussions

Creating a batch file..

Hello, this is my first post and i hope you can solve my problem. I need to create a batch file that will copy folder from hard drive on to usb stick on daily basis. Can you help me and write that file and explaine me what to do next. Folder's location is: c\windows\desktop\2009 Thank... (5 Replies)
Discussion started by: hule
5 Replies

6. Shell Programming and Scripting

Batch file to remove double quotes from a file

Hi I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file. For eg.If input file name is abcd.csv and contents is : "asasd,123123,213213,asd" "esfrf,dsfsdf,234324,sdfsdf" Then the batch file should remove "" from the... (11 Replies)
Discussion started by: akashtcs
11 Replies

7. UNIX for Advanced & Expert Users

batch file

Hi all I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately. Please could anyone help me to do that. bye. (1 Reply)
Discussion started by: ahmedbashir
1 Replies

8. Shell Programming and Scripting

Executing a batch of files within a shell script with option to refire the individual files in batch

Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below. I am on a solaris server btw. Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose. ... (2 Replies)
Discussion started by: goddevil
2 Replies

9. Shell Programming and Scripting

Renaming file in batch

Hi guys, I need a script to change the file names e.g.:- below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr # ls -ltr... (9 Replies)
Discussion started by: mfaizan40
9 Replies
QRERUN(1P)						     POSIX Programmer's Manual							QRERUN(1P)

PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond- ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME
qrerun - rerun batch jobs SYNOPSIS
qrerun job_identifier ... DESCRIPTION
To rerun a batch job is to terminate the session leader of the batch job, delete any associated checkpoint files, and return the batch job to the batch queued state. A batch job is rerun by a request to the batch server that manages the batch job. The qrerun utility is a user- accessible batch client that requests the rerunning of one or more batch jobs. The qrerun utility shall rerun those batch jobs for which a batch job_identifier is presented to the utility. The qrerun utility shall rerun batch jobs in the order in which their batch job_identifiers are presented to the utility. If the qrerun utility fails to process any batch job_identifier successfully, the utility shall proceed to process the remaining batch job_identifiers, if any. The qrerun utility shall rerun batch jobs by sending a Rerun Job Request to the batch server that manages each batch job. For each successfully processed batch job_identifier, the qrerun utility shall have rerun the corresponding batch job at the time the util- ity exits. OPTIONS
None. OPERANDS
The qrerun utility shall accept one or more operands that conform to the syntax for a batch job_identifier (see Batch Job Identifier ). STDIN
Not used. INPUT FILES
None. ENVIRONMENT VARIABLES
The following environment variables shall affect the execution of qrerun: LANG Provide a default value for the internationalization variables that are unset or null. (See the Base Definitions volume of IEEE Std 1003.1-2001, Section 8.2, Internationalization Variables for the precedence of internationalization variables used to determine the values of locale categories.) LC_ALL If set to a non-empty string value, override the values of all the other internationalization variables. LC_CTYPE Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments). LC_MESSAGES Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error. LOGNAME Determine the login name of the user. ASYNCHRONOUS EVENTS
Default. STDOUT
None. STDERR
The standard error shall be used only for diagnostic messages. OUTPUT FILES
None. EXTENDED DESCRIPTION
None. EXIT STATUS
The following exit values shall be returned: 0 Successful completion. >0 An error occurred. CONSEQUENCES OF ERRORS
In addition to the default behavior, the qrerun utility shall not be required to write a diagnostic message to standard error when the error reply received from a batch server indicates that the batch job_identifier does not exist on the server. Whether or not the qrerun utility waits to output the diagnostic message while attempting to locate the job on other servers is implementation-defined. The following sections are informative. APPLICATION USAGE
None. EXAMPLES
None. RATIONALE
The qrerun utility allows users to cause jobs in the running state to exit and rerun. The qrerun utility is a new utility, vis-a-vis existing practice, that has been defined in this volume of IEEE Std 1003.1-2001 to correct user-perceived deficiencies in the existing practice. FUTURE DIRECTIONS
None. SEE ALSO
Batch Environment Services COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol- ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE
/The Open Group 2003 QRERUN(1P)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy