any of you guys have a script for measuring the run time of any given script, where you would sandwich your own script between the timer script or something? thanks! :) (2 Replies)
Hi
I have a script that execute every X minute for checking new files in a folder and converting to pdf.
Is there any way to start this script automatically on linux startup?. I use sleep function in script with infinite loop.
while
do
killall -u `whoami` -q soffice
soffice... (0 Replies)
So I am attempting to get a short but complex perl script to be able to time out an application that I will launch from a command line. The terminal I use is MKS C SHELL and I am having trouble doing the a job spawn that will launch the application and keep time on it.
I know you could do this... (1 Reply)
Hey folks,
We already got a working Script running, but actually we gotta start it manually but at least we want to run it like every 30minutes 1time.
Could anyone give it a shot?
#!/bin/sh
for i in A B C D E F G H I J K L M N O P Q R S T U V W X Z
do
ln -sv /x/$i/*/PDF/001-*.*... (1 Reply)
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Hello Experts-
We are facing some issues in the while loop script when we use the script time to decide whether to exist from the loop or continue.
Below is the script
SrcExitLoop="FALSE"
Src_InitialStartTime=`date +%s`
Src_StartTime=`date +%s`
Src_NUM_ALERTS=0
TOTAL_ALERTS=`expr <SOME... (4 Replies)
Hi
Could somebody please help me with this code?
------------------------------------------
@ftp -i -s:"%~f0"&GOTO:EOF
open mysite.co.uk
myusername
mypassword
!:--- FTP commands below here ---
cd public_html/
binary
lcd c:\
put myfile.jpg
bye
... (3 Replies)
Discussion started by: dobbies
3 Replies
LEARN ABOUT OPENSOLARIS
timer_delete
timer_delete(3C) Standard C Library Functions timer_delete(3C)NAME
timer_delete - delete a timer
SYNOPSIS
#include <time.h>
int timer_delete(timer_t timerid);
DESCRIPTION
The timer_delete() function deletes the specified timer, timerid, previously created by the timer_create(3C) function. If the timer is
armed when timer_delete() is called, the behavior will be as if the timer is automatically disarmed before removal. The disposition of
pending signals for the deleted timer is unspecified.
RETURN VALUES
If successful, the function returns 0. Otherwise, the function returns -1 and sets errno to indicate the error.
ERRORS
The timer_delete() function will fail if:
EINVAL The timer ID specified by timerid is not a valid timer ID.
ENOSYS The timer_delete() function is not supported by the system.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe with exceptions |
+-----------------------------+-----------------------------+
|Standard |See standards(5). |
+-----------------------------+-----------------------------+
SEE ALSO timer_create(3C), attributes(5), standards(5)SunOS 5.11 5 Feb 2008 timer_delete(3C)