Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Run a script if file modified in last 10 min Post 302384899 by jim mcnamara on Wednesday 6th of January 2010 03:18:39 PM
Old 01-06-2010
We need more detail, please.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to retrieve original contents of a modified file (modified using vi)

Made changes to a file using vi editor and saved those changes now realised that the changes are not required How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
Discussion started by: novice100
3 Replies

2. Shell Programming and Scripting

command to know files modified morethan 30 min

Hi, i use ksh and want to know the command for gettting the files which were not modified in last 30 min. find . -name <filename > -mtime 0.0209 is not giving the results. Thanks , Mohan (3 Replies)
Discussion started by: mohanpadamata
3 Replies

3. UNIX for Dummies Questions & Answers

SFTP script - poll every min to check file complete before transfering

Hello, Before I do a GET remote file, I need to ensure the remote file is a complete file i.e. whatever process is saving the file to the remote folder should complete the transfer before I go GET it through my script. So I'm thinking I need to poll the remote file every minute or so to... (4 Replies)
Discussion started by: srineel
4 Replies

4. Shell Programming and Scripting

Script to send an alert if a file is present in a directory for 10 min

hi, A script which look into a directory and send an alert via a mail. If there is any file exisiting in a directory for more then 10 min. (5 Replies)
Discussion started by: madfox
5 Replies

5. Shell Programming and Scripting

Shell script: If a file stays in a particular directory more than 30 min send an email

Hi , I am new to shell scripting. i have a requirement say i will receive a file in a directory say /xyz.if that file stays in that directory more than 30 min i need to get a mail to my outlook.this should run for every 20 min in crontab. can anyone help me? (8 Replies)
Discussion started by: muraliinfy04
8 Replies

6. Shell Programming and Scripting

script to monitor the process system when a process from user takes longer than 15 min run.

get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same. hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Discussion started by: kirankrishna3
1 Replies

7. Shell Programming and Scripting

Run a script when a file is modified/time stamp changed

Hi, I need to run a script file which uses a file and that file is modified as and when some alarms generated, it is not based on any fixed time period.. it may be modified even once in a minute for some time and once in 30 min or once in 20 min. Hence i need to watch for the timestamp change of... (3 Replies)
Discussion started by: aemunathan
3 Replies

8. Shell Programming and Scripting

Script to FTP a modified file

Hello, I am fairly new to shell scripting. I see a lot of examples out there of how to find if a file has been modified within a certain period of time. What I'm looking for help with is a script that will run and I'm thinking check for the last 24 hours but if not just check at runtime to see... (6 Replies)
Discussion started by: PyroPlasm
6 Replies

9. UNIX for Dummies Questions & Answers

Run a cronjob only when a file is modified?

Hello, I am new to cron. I have a cronjob that updates a dataset in a 3rd party application. The contents of this dataset come from a text file, which is updated irregularly. Currently my cronjob runs once every week, to update this dataset (irrespective of whether the file was updated or not).... (7 Replies)
Discussion started by: ad23
7 Replies

10. Solaris

How to run cron entry every 5 min during office hours only?

Hi I need to setuop a cron entry to run every 5 min, only in office hours (between 8:00AM to 18:00PM, I did the following: 0,5,10,15,20,25,30,35,40,45,50,55 8,9,10,11,12,13,14,15,16,17,18 * * * /home/xxx/zzz.ksh But somehow does not work. Could it be wrong? (8 Replies)
Discussion started by: fretagi
8 Replies
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, MetadataLibraryrF__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator(3)

NAME
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator - SYNOPSIS
Inherits __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator. Public Types typedef _Alloc::difference_type difference_type typedef std::forward_iterator_tag iterator_category typedef node_pointer_pointer pointer typedef node_pointer_reference reference typedef node_pointer value_type Public Member Functions iterator (node_pointer_pointer p_p_cur=0, node_pointer_pointer p_p_end=0) bool operator!= (const const_iterator &other) const bool operator!= (const iterator &other) const node_const_pointer operator* () const node_pointer operator* () iterator & operator++ () iterator operator++ (int) const node_pointer_pointer operator-> () const node_pointer_pointer operator-> () bool operator== (const const_iterator &other) const bool operator== (const iterator &other) const Public Attributes node_pointer_pointer m_p_p_cur node_pointer_pointer m_p_p_end Detailed Description template<typename _ATraits, typename Metadata>struct __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator Child iterator. Definition at line 320 of file pat_trie_base.hpp. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::iterator(3)
All times are GMT -4. The time now is 05:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy