Sponsored Content
Top Forums Shell Programming and Scripting Running script in crontab in a specific directory Post 302932923 by Scrutinizer on Monday 26th of January 2015 11:34:54 AM
Old 01-26-2015
By adding a cd /local/mnt/scr command in your script ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

issue with running script with crontab

I am facing a strange issue while running a script(eg A) from the crontab entry the script calls one more script(eg B) within it now when i run the script A manually(with nohup) it also executes the script B (embedded inside it) as expected. but when i run the script A from the crontab entry... (7 Replies)
Discussion started by: mad_man12
7 Replies

2. UNIX for Dummies Questions & Answers

Getting error when running script through crontab

Hi all, I wrote small script for Solaris and when I am running it through command prompt its ok, but when I trying to run it using crontab, i am getting error like: ld.so.1: dbloader: fatal: libACE.so: open failed: No such file or directory /tmp/file.sh: line 5: 8304 Killed ... (4 Replies)
Discussion started by: nypreH
4 Replies

3. Shell Programming and Scripting

Problem with crontab running a script

I am trying to use the CRON utility in Fedora 11 & CentOS... I intend to run a script which pops up a warning message every hour and i made the following entry using "CRONTAB -e " * * * * * sh /bin/myscript.sh But this does not seem to be running. Another thing to note is that,... (4 Replies)
Discussion started by: Vabiosis
4 Replies

4. Shell Programming and Scripting

Running SQLPLUS Script in CRONTAB

Hi, Can someone please help me here with this one. This is my script: # more tosh.sh #!/usr/bin/ksh clear . /home/oracle/.profile echo "Good morning, world." export ORACLE_HOME=/u01/app/oracle/product/9.0.1 export PATH=$ORACLE_HOME/bin:/usr/local/bin export ORACLE_SID=xxxx ... (11 Replies)
Discussion started by: santoshpayal
11 Replies

5. Shell Programming and Scripting

Crontab not running a script

Hi, I posted this in the Solaris forum but I think this one would be more appropriate. I created a script starting with the following lines: #!/usr/bin/ksh flag=n export flag typeset -i quant=0 (...) When running it I'm getting the following 2 errors: /tmp/tstscript/testfail.ksh:... (9 Replies)
Discussion started by: Cvg
9 Replies

6. UNIX for Advanced & Expert Users

Particular script not running through crontab

Hi, I have created the below script, set -x # Set the Path of Environment file ENV_FILE_DIR=/opt/app/p1trp1c1/sybase/ecdwqdm/xrbid/QDM_Prod/bin LOG_DIR=/opt/app/p1trp1c1/sybase/ecdwqdm/xrbid/QDM_Prod/log export ENV_FILE_DIR export LOG_DIR # Set Audit Environment . ${ENV_FILE_DIR}/QDM.env... (8 Replies)
Discussion started by: yohasini
8 Replies

7. UNIX for Dummies Questions & Answers

crontab not running script

Hi All, I am having the below script to be run from crontab, it it doesnt run. 1 * * * * /home/cobr_ext/test.sh > /home/cobr_ext/temp.txt when i run i manally it runs without any issues. Could please help me as to why doesnt it run the script.:( (7 Replies)
Discussion started by: abhi_123
7 Replies

8. Solaris

Script problem when running on crontab

Hi guys! I created a backup script that works fine when I run manually, but when I put a crontab job to execute it the result are not the expected. (not a time problem). Here is my script: bash-3.00# cat /bk_tool/backup2.sh #!/usr/bin/csh clear set DIR_HOST='SCP08' ... (3 Replies)
Discussion started by: andredemartini
3 Replies

9. Shell Programming and Scripting

Shell scripting-I need a script which should watch a directory for a file with specific directory

I need a script which should watch a directory for a file with specific directory. If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column. The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies

10. UNIX for Dummies Questions & Answers

CRONTAB - one python script is not running

Hi! I'm using a RaspberryPi with standard Raspbian. Currently I'm working on some sort of weather station. For now I have three python scripts - one which is updating txt files for website - update1m.py ( it will not be necessary in few next days so I'll delete it) , second one for updating... (4 Replies)
Discussion started by: bartocham
4 Replies
ipack(1)						      General Commands Manual							  ipack(1)

NAME
ipack - Manipulate Flex files containing Shapes SYNOPSIS
ipack -c SCRIPT ipack -x SCRIPT ipack -u SCRIPT DESCRIPTION
Flex files containing Shapes are used for the storage visual elements by the games Exult supports. While expack(1) can operate on such files, using ipack is more comfortable. It can extract images from the Flex file directly into PNG-format, and create or update Flex files from a list of PNG files. The first parameter determines the mode of operation: -c Creation New Flex and palette files are created according to the instructions contained in the SCRIPT file. -u Update Works like Creation, but updates an existing Flex file. -x Extraction The contents of the Flex file described in the SCRIPT file are extracted as PNG is dissected into its contents, as described in this script file. Script File Format Empty lines, and lines starting with a pound sign (#) are ignored. The names of the associated Flex archive and palette files are given in lines containing optional whitespace, one of the tokens archive or palette, whitespace, and the filename. Other lines define one shape each, and must begin with an image slot number, followed by a slash (/), the number of frames, a colon (:), and finally the PNG file specification. The numbers may be given either in decimal, in octal prefixed with 0; or in hexadecimal prefixed with 0x. The file specification consists of the filename PREFIX, optionally followed by a number and direction in brackets, optionally followed by whitespace and the word flat. Per default, each shape corresponds to a number of PNG files (one for each frame) named PREFIXnn.png with nn replaced by the frame number. If the optional bracket expression is used in the specification the Shape corresponds to a single PNG file instead. This file contains all frames, each of which is 8 by 8 pixels in size, arranged next to each other in a rectangular grid. The number in the bracket expression gives the size of this grid in the direction indicated. The direction can be either down or across. EXAMPLES
ipack -c island.scr Creates a Flex file and a palette file as specified by island.scr. ipack -x island.scr Extracts all components described in island.scr from the Flex file given therein. Example script # script file for island.flx archive island.flx # put the palette into this file palette island.pal # the zeroth image has 32 frames in the files # zero00.png to zero31.png 0/32:zero # image 5 consists of 22 frames stored in file # five.png in a grid 5 frames across (which means # 5 rows of which the last holds only 2 frames) 5/22:five(5 across) flat # image 4 consists of 12 frames stored in file # four.png in a 3 by 4 grid 4/12:four(4 down) flat # images 1 to 3 are unspecified BUGS
Tiled Shapes are currently extracted into multiple PNG files, not a single file as expected during Create/Update. AUTHOR
This manpage was written by Robert Bihlmeyer. It may be freely redistributed and modified under the terms of the GNU General Public License version 2 or higher. SEE ALSO
expack(1), exult(6) Exult 2002-03-24 ipack(1)
All times are GMT -4. The time now is 07:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy