Forums Search Login Register
Login
Username
Password
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply  Buggy Item
John
 
1
Example, using `pgrep` to limit script execution to one instance

I didnt find much info searching the web on this so here is my contribution.

In my case, cron will execute a script to auto zip multiple folders 4 times a day. Sometimes the folders are so large it can take hours to complete. I didnt want cron to execute the script if the last instance was...
01-06-2011, 05:29 PM
Reply
Subscribe to this thread Subscribed Users  Add Reply  Buggy Item


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Checking Automated FTP Script's Status (Bash) John 0 415 01-31-2011 02:10 PM
Last Post: John
  Test script for xdebug. John 0 344 01-20-2011 05:50 PM
Last Post: John
  Icon fror my script in KDE 4.5 (not so important) John 0 305 01-14-2011 02:39 PM
Last Post: John
  plink remote script running problem John 0 460 01-11-2011 08:08 AM
Last Post: John
  fc14 - setroubleshoot-server startup script? John 0 283 01-06-2011 07:07 AM
Last Post: John
  kmanager-vpnc vpn key lifetime limit John 0 369 01-06-2011 07:07 AM
Last Post: John
  is this script compatible with fedora ? John 0 360 12-29-2010 06:38 PM
Last Post: John
  circumvent fat32 4Gb file size limit John 0 290 12-17-2010 01:34 AM
Last Post: John
  No Permissions for Script? John 0 325 12-15-2010 08:04 AM
Last Post: John
  limit user access (bash and physically at machine) John 0 249 11-24-2010 08:43 PM
Last Post: John

Forum Jump:



User(s) browsing this thread: 1 Guest(s)



Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2018