Sponsored Content
Top Forums UNIX for Dummies Questions & Answers unusual problem with cp command Post 302690653 by jim mcnamara on Thursday 23rd of August 2012 08:23:58 AM
Old 08-23-2012
To expand a lot on vbe and RudiC's posts:

Does the first cron job ALWAYS complete in less than two minutes? If cron starts another job after two minutes and the previous one is still running, things will become awful rapidly.

Also: You are not checking either filesize or mtime of the .cdr file. How do you know if the .cdr file is ready to be archived? If mtime < 30 seconds old, the file may still be open and being written. The kernel syncs file data periodically, usually less than 1 minute intervals.

In any case you may be processing or trying to process incomplete or partially processed .cdr files. Note gzip does not rename the inputfile until after it completes, for example.

Also consider redirecting stderr in your cron entry:
Code:
2,4,6,8 * * * * /path/to/myscript.sh 2>>/path/to/errorlog.log

Then you can see what is going wrong. At least any errors.
This User Gave Thanks to jim mcnamara For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

somewhat unusual top output problem

i'm a relative newbie to unix (i'm on OSX) and i have a specific problem i'm tripped up on: i'm piping the output of top (in log format) into an awk command which formats the information (and eventually will send it out continuously via udp/osc to another app). my problem is with what comes up... (4 Replies)
Discussion started by: ohhmyhead
4 Replies

2. UNIX for Advanced & Expert Users

unusual function refrences

I'm wrting a program which needs to get the following information of a sever by calling some lib fuctions or system calls, so can anybody help to tell me those function names or where I can find the description of them ? CPU usage Memory usage Load procs per min Swap usage Page I/O Net I/O... (1 Reply)
Discussion started by: xbjxbj
1 Replies

3. Programming

unusual function refrences

I'm wrting a program which needs to get the following information of a sever by calling some lib fuctions or system calls, so can anybody help to tell me those function names or where I can find the description of them ? CPU usage Memory usage Load procs per min Swap usage Page I/O ... (11 Replies)
Discussion started by: xbjxbj
11 Replies

4. Solaris

pleaseee help with unusual crontab problem

Helllo folks... I tryed to edit crontab and I have this problem when I do crontab -l it shows my crontab correctly and if I do crontab -e I get this. baafh-99.03# baafh-99.03# crontab -e 1063 ? ? ? ? ? and that is all ...:( I have to type "q" and hit enter and I am back... (4 Replies)
Discussion started by: amon
4 Replies

5. Shell Programming and Scripting

very unusual question about while

is there anyway to make while run a command faster than per second? timed=60 while do command sleep 1 done i need something that can run a script for me more than one time in one second. can someone help me out here? (3 Replies)
Discussion started by: Terrible
3 Replies

6. Programming

C Calender Help - Unusual error

I'm making a program that you input the month and year, and it creates a calender for that month of that year. This is my largest project yet, and I broke it up into several source files. cal.c #include "cal.h" #include <stdio.h> main() { int month, year; scanf("%d %d", &month,... (3 Replies)
Discussion started by: Octal
3 Replies

7. UNIX for Advanced & Expert Users

Unusual NFS mount problem on only ONE client: Red Hat WS Rel 3

This is an unusual situation where I have an NFS server currently serving out MULTIPLE clients over several variants of Linux and UNIX successfully (world permissions) except for a SINGLE client. Even the other Linux (SuSE) clients in the same room are mounting successfully with defaults without... (6 Replies)
Discussion started by: neelpert1
6 Replies

8. Shell Programming and Scripting

Unusual Problem

what is wrong with the below script: --------------------------------------------------------------------------------- #!/bin/bash echo "Setting JrePath..." grep -w "export JrePath" /etc/profile Export_Status=$? if echo "JrePath declared" elif echo "JrePath not declared" echo... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

9. HP-UX

Unusual Behavior?

Our comp-operator has come across a peculiar ‘feature'. We have this directory where we save all the reports that were generated for a particular department for only one calendar year. Currently there are 45,869 files. When the operator tried to backup that drive it started to print a flie-listing... (3 Replies)
Discussion started by: vslewis
3 Replies
SCVIM(1)						      General Commands Manual							  SCVIM(1)

NAME
scvim_make_help - strip SuperCollider HTML help to text, for use with scvim SYNOPSIS
scvim_make_help [options] DESCRIPTION
This manual page documents briefly the scvim_make_help command. scvim_make_help is a script that strips SuperCollider HTML help to text format, for use with scvim. Users do NOT normally need to invoke it, since it is called by the main scvim script upon first run. The stripped files are placed in ~/.scvim by default, but this can be overridden by specifying SCVIM_CACHE_DIR environment variable. OPTIONS
A summary of options is included below. -s --source-dir directory Specify the soruce directory to search for HTML help files. -d --dest-dir directory The Destination Directory for the processed Help Files. -c --clean Clean the Destination Directory before building the helpfiles. -f --force Do not prompt to see if the user is sure about deleting files. -h --help Show summary of options. SEE ALSO
scvim(1) /usr/share/doc/supercollider-vim/README.scvim AUTHOR
scvim was written by Alex Norman <alex at x37v dot info>. This manual page was written by Dan Stowell <danstowell@users.sourceforge.net>, for the Ubuntu project (but may be used by others). Nov 18, 2008 SCVIM(1)
All times are GMT -4. The time now is 10:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy