![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| suspend a process | superuser84 | UNIX for Advanced & Expert Users | 6 | 03-18-2008 09:36 PM |
| Suspend Cron job temprory | pankajkrmishra | Shell Programming and Scripting | 4 | 08-14-2006 09:18 AM |
| suspend a process | piou78 | Shell Programming and Scripting | 7 | 06-03-2005 10:08 AM |
| UNIX Process Suspend | proton | UNIX for Dummies Questions & Answers | 3 | 02-13-2005 03:27 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Suspend to write file
We have a common directory , everyone can put file to it , but I found that there is a problem if the user continouosly write files to this directory while the another application is running at the same time , so I want temporaily "protect" the directory , no files can be write to it at a specific time ( eg. from every 1:00am - 3:00am , 7am - 8:30am & 5pm - 6:45pm ) , the system should temporaily store the files in the above time and write back to the directory after the "pretection" period , is it possible ? thx.
|
|
||||
|
I can think of a solution as follows.
Write a shell script that runs forever and removes write permission on the directory in specified time gap. Better u can have a cron job to do that. But that does not satisfy the second requirement. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|