05-19-2016
You need to be more specific about what you are trying to do. What do you mean by "multiple cron jobs"?
Each cron job is a script which is executed by the cron daemon at the scheduled time. You can have any number of those.
Do you mean combine multiple jobs into one script? The answer is probably yes using the scripts logical flow to determine what should be executed or not executed.
Please provide more information about your issue.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to write multiple echo statements in unix?
echo "************************************************************************************************************";
echo This Script do the following functions
echo 1. Point 1
echo 2. Point 2
echo 3. Point 3
echo... (2 Replies)
Discussion started by: Shrutiduggal
2 Replies
2. Shell Programming and Scripting
I am trying to write a script that will do a sql statement. But in the sql I will have a list (1,2,3,4).
How would I go about asking for the input from the user running the script, and then transferring that back into the list as say ($var1,$var2,$var3)?
It would be somewhat like this:
... (1 Reply)
Discussion started by: Captain
1 Replies
3. Shell Programming and Scripting
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies
4. Shell Programming and Scripting
Hi,
i am having following directory structure
Folder1
-> Folder2
-> Folder3
Folder4
Folder5
Now i am at top level and want to assign write permission to all the folder & files in it.
i am... (3 Replies)
Discussion started by: sarbjit
3 Replies
5. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
6. Shell Programming and Scripting
hi,
i am very much new to shell scripting i have a requirement that i have to develop a License Renewal Alert system
that has to give a alert mail to the users before 30days of user account expiration, by checking expiration date of the user with the data base, this system will... (0 Replies)
Discussion started by: deepu_Shscripts
0 Replies
7. Shell Programming and Scripting
Hi there,
I would write a bash script to format then create a range of folder (folder name is number) to a usb stick.
for numbers in $(seq -w 001 999)
do
pause "Press any key to start"
mkfs.vfat -F32 /dev/sdc1
mount /dev/sdc1 /media/usb
mkdir /media/$numbers
umount /dev/sdc1... (8 Replies)
Discussion started by: wayneliao38
8 Replies
8. AIX
Hi,
We are taking the mksysb backup to NIM server's NFS mount point (/backup). We have mounted /backup to all the clients /backup and full permission. When multiple mksysb backup starting simultaneously to the NIM server's shared NFS mount point then only one backup is running and all others... (3 Replies)
Discussion started by: sunnybee
3 Replies
9. Shell Programming and Scripting
Hi All,
I need the answer of below question?
1) How to write multiple cronjobs in shellscript? Is there any way or we cant write in shellscript...
this is interview question
Regards,
Priyanka (1 Reply)
Discussion started by: pspriyanka
1 Replies
10. Programming
(Apologies for any typos.)
OSX 10.12.3 AND Windows 10.
This is for the serious Python experts on at least 3.5.x and above...
In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly.
Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT OSF1
tis_write_lock
tis_write_lock(3) Library Functions Manual tis_write_lock(3)
NAME
tis_write_lock - Acquires the specified read-write lock for write access.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
int tis_write_lock(
tis_rwlock_t *lock);
STANDARDS
None
PARAMETERS
Address of the read-write lock to be acquired for write access.
DESCRIPTION
This routine acquires a read-write lock for write access. This routine waits for any other active locks (for either read or write access)
to be unlocked before this acquisition request is granted.
This routine returns when the specified read-write lock is acquired for write access.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Successful completion. The value specified by lock is not a valid read-write lock.
ERRORS
None
RELATED INFORMATION
Functions: tis_read_lock(3), tis_read_trylock(3), tis_read_unlock(3), tis_rwlock_destroy(3), tis_rwlock_init(3), tis_write_trylock(3),
tis_write_unlock(3)
Manuals: Guide to DECthreads and Programmer's Guide delim off
tis_write_lock(3)