04-07-2010
does this only check once or keep checking until the file is detected because it takes abot 15 minutes for the file to be created once i start the job and the file is created for script2 to be ran?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
If you have a very static Linux server and you want to make sure it's not messed with, here's a simple script that will tell you if any files have been tampered with. It's not as fancy or as secure as tripwire or those others, but it is very simple. It can be easily adapted to any *NIX OS.
... (3 Replies)
Discussion started by: otheus
3 Replies
2. Shell Programming and Scripting
Heloo every one
I want to write a script that detects a key press and mouse click and movement,but I dont know how.
The second one is I want to run myscript without writing the shell ie not "sh script.sh" but "script.sh"
Can you help me out of here?
Thanks in advance. (9 Replies)
Discussion started by: enoch99
9 Replies
3. Shell Programming and Scripting
Hello all
I have a script but I failed on the creation of
Script is any is carried out in the shell sends the owner of the server, the message is has been implemented
For example, functioned as a detection system intruders but in smaller
Is it possible to help if you allow
I want the... (4 Replies)
Discussion started by: x-zer0
4 Replies
4. Programming
Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies
5. Shell Programming and Scripting
Hi,
I require need help in two aspects actually:
1) Fatal error that gets generated as %F% from a log file say ABClog.dat to trigger a mail. At present I manually grep the log file as <grep %F% ABClog.dat| cut-d "%" -f1>. The idea is to use this same logic to grep the log file which is... (1 Reply)
Discussion started by: zico1986
1 Replies
6. Shell Programming and Scripting
Hello,
Is there any method thorugh which script can take argument if pass otherwise if argument doesn't pass then it takes the argument from the configuration file
i.e I am workiing on a script which will run through crontab and the script will
chekout the code ,zip and copy to the... (3 Replies)
Discussion started by: rohit22hamirpur
3 Replies
7. Shell Programming and Scripting
Hello,
I need to compare two flat files (ASCII format), say file OLD and file NEW. Both have similar structure. These files are | delimitted files and have around few million of records (lines) each. Each file has same set columns and same set of key columns (i.e. the 3rd and 5th column of the... (7 Replies)
Discussion started by: manubatham20
7 Replies
8. Shell Programming and Scripting
# cat /tmp/checkdate.log
SQL*Plus: Release 11.2.0.1.0 Production on Mon Sep 17 22:49:00 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
FIRST_TIME NEXT_TIME... (1 Reply)
Discussion started by: SarwalR
1 Replies
9. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
gearman_job_take_workload
GEARMAN_JOB_TAKE_WORKLOAD(3) Gearmand GEARMAN_JOB_TAKE_WORKLOAD(3)
NAME
gearman_job_take_workload - Gearmand Documentation, http://gearman.info/
SYNOPSIS
#include <libgearman/gearman.h>
gearman_job_st
void gearman_job_free(gearman_job_st *job)
gearman_return_t gearman_job_send_data(gearman_job_st *job, const void *data, size_t data_size)
gearman_return_t gearman_job_send_warning(gearman_job_st *job, const void *warning, size_t warning_size)
gearman_return_t gearman_job_send_status(gearman_job_st *job, uint32_t numerator, uint32_t denominator)
gearman_return_t gearman_job_send_complete(gearman_job_st *job, const void *result, size_t result_size)
gearman_return_t gearman_job_send_exception(gearman_job_st *job, const void *exception, size_t exception_size)
gearman_return_t gearman_job_send_fail(gearman_job_st *job)
const char *gearman_job_handle(const gearman_job_st *job)
const char *gearman_job_function_name(const gearman_job_st *job)
const char *gearman_job_unique(const gearman_job_st *job)
const void *gearman_job_workload(const gearman_job_st *job)
size_t gearman_job_workload_size(const gearman_job_st *job)
void *gearman_job_take_workload(gearman_job_st *job, size_t *data_size)
Link with -lgearman
DESCRIPTION
gearman_job_st are passed to worker functions to represent jobs that are being run by gearman_worker_work().
gearman_job_free() is used to free a job. This only needs to be done if a task was created with a preallocated structure.
gearman_job_handle() returns the job handle(see gearman_job_handle_t for more information).
gearman_job_function_name() return the name of the function that the job was set to execute against.
gearman_job_unique() return the unique value that was used for gearman_job_st.
returns the gearman_job_st workload. The size of it can be determined with gearman_job_workload_size(). gearman_job_take_workload() is the
same as gearman_job_workload() with the exception that the result must be free(3) by the caller.
RETURN VALUE
A value of gearman_return_t is returned. On success that value will be :c:type::GEARMAN_SUCCESS. Use gearman_strerror() to translate
this value to a printable string.
HOME
To find out more information please check: http://gearman.info/
SEE ALSO
gearmand(8) libgearman(3)
AUTHOR
Data Differential http://www.datadifferential.com/
COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/
0.33 May 04, 2012 GEARMAN_JOB_TAKE_WORKLOAD(3)