Sponsored Content
Full Discussion: cronjob to run perl script
Top Forums UNIX for Dummies Questions & Answers cronjob to run perl script Post 302222817 by broli on Thursday 7th of August 2008 01:58:15 PM
Old 08-07-2008
take out the stdout a<nd stderr rediction, wait until it runs, and read the mail for the user in which you are executing that
(you need a mta)
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

cannot run cronjob

I have the following cron: 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /v/sysadmin/sysnet/file.pl The .pl has been tried at 755 and 777 The script works if manually run by the web browser or unix command prompt, but I can't get the Cron to do it automatically i went... (3 Replies)
Discussion started by: shahrahulb
3 Replies

2. Shell Programming and Scripting

Perl: Run perl script in the current process

I have a question regarding running perl in the current process. I shall demonstrate with an example. Look at this. sh-2.05b$ pwd /tmp sh-2.05b$ cat test.sh #! /bin/sh cd /etc sh-2.05b$ ./test.sh sh-2.05b$ pwd /tmp sh-2.05b$ . ./test.sh sh-2.05b$ pwd /etc sh-2.05b$ So... (10 Replies)
Discussion started by: vino
10 Replies

3. Solaris

How to run a script as different user inside cronjob in solaris.

Hi , I have a shell script to perform some actions on sun solaris box . This script normally requires to be run as a different user. so, whenever i have to run this script, i need to sudo in as that user , enter the password and execute it. Now,I have to setup a cronjob to execute the script... (11 Replies)
Discussion started by: csg_user
11 Replies

4. Shell Programming and Scripting

Running script that sends an html formatted email fails when its run as cronjob

Hi Im very new at working with unix and this problem I simply can not understand. I know there are a lot of threads about problems with shell scripts behaving differently when run from a terminal and from a cronjob. I have tried everything(almost) but I still havent cracked this problem. Im... (15 Replies)
Discussion started by: Nightowl
15 Replies

5. Shell Programming and Scripting

Problems in running a Perl script via cronjob

I have a very basic perl script that attempts to find if a process is running. If the process is not running then the script is supposed to start the process. If I execute the script from command line it works fine as expected. However if the script is executed via cronjob, the script cannot find... (1 Reply)
Discussion started by: ypant
1 Replies

6. AIX

My script didn't run every run every minute at cronjob

In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all. * * * * * script.sh When I run it manually, I can run it. Is that anything wrong with the above line? If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies

7. Shell Programming and Scripting

Schedule and Run By weekly shell script in cronjob

Hi All, How to schedule a shell script(script name- byweeklyreport.sh) it should run by weekly in corn job or is there any script have to write to check week and then run the above script. example-1st run March 06 2013 2nd run March 20 2013 3rd run April 3 2013... (13 Replies)
Discussion started by: krupasindhu18
13 Replies

8. UNIX for Dummies Questions & Answers

Script does not run from a user specific cronjob.

Hello, I have two crontabs, one for the root and one for another user. There is a script in my configurations that has to send a email. The script works and sends the emails when I run it by hand with either the root or the user, and when I program it in the root's crontab. But! It does not... (3 Replies)
Discussion started by: Tralaraloro
3 Replies

9. Shell Programming and Scripting

Run cronjob for every 10 minutes

Hi Friends, I have a requirement to run the cronjob for every 10 minutes from 2:00 AM to 6:00 AM. Does the below code works? If not, please advise. * * * * * command to be executed ┬ ┬ ┬ ┬ ┬ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └---------------------------------- day of week (0 - 6) (0 is... (5 Replies)
Discussion started by: srikanthbiradar
5 Replies

10. Shell Programming and Scripting

Shell script run in a case statement call to run a php file, also Perl

Linux System having all Perl, Python, PHP (and Ruby) installed From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file eg eg a Shell script run in a case statement call to run a php file, also Perl or/and Python file??? Like #!/usr/bin/bash .... .... case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
MIDI2MG(1)						      General Commands Manual							MIDI2MG(1)

NAME
midi2mg - convert a midi file into midge(1) text format. SYNOPSIS
midi2mg [ options ] midi_file DESCRIPTION
midi2mg reads a midi file and writes its contents to a file in midge(1) text format. It prints a message to stdout for any midi events it can't handle. OPTIONS
-h or --help Display help text. -v or --verbose Print verbose messages to stdout. -q or --quiet Quiet. No stdout. -o file or --outfile file Write output to file. Otherwise converts file.mid to file.mg Outputs to stdout if file is `-'. When outputting to stdout quiet mode is automatically set unless verbose mode is set earlier on the command line. -w or --ignore-wrong-track Ignore MIDI events on the wrong channel instead of exiting. -n i[,j...] or --include-tracks i[,j...] Only convert the tracks in the comma separated list, with track numbers starting from 1. -N i[,j...] or --exclude-tracks i[,j...] Convert all tracks except those specified in the comma separated list. -t n or --tuplet-factor n An additional factor for files with odd note lengths, to prevent them being translated as decimals (n should be a prime number greater than 3). -F or --no-factorise Do not factorise time values (may help to decipher unusual tuplet values). BUGS
Does not correctly handle some text events. Does not handle SMTPE style tempo events. Does not handle changes of tempo/time_sig/key if these are on a separate tempo track. SEE ALSO
midge(1) AUTHOR
David Riley <dave@dmriley.demon.co.uk> 17 July 2006 MIDI2MG(1)
All times are GMT -4. The time now is 06:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy