Forums Search Login Register
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
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
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 428 01-31-2011 02:10 PM
Last Post: John
  Test script for xdebug. John 0 351 01-20-2011 05:50 PM
Last Post: John
  Icon fror my script in KDE 4.5 (not so important) John 0 313 01-14-2011 02:39 PM
Last Post: John
  plink remote script running problem John 0 474 01-11-2011 08:08 AM
Last Post: John
  fc14 - setroubleshoot-server startup script? John 0 284 01-06-2011 07:07 AM
Last Post: John
  kmanager-vpnc vpn key lifetime limit John 0 389 01-06-2011 07:07 AM
Last Post: John
  is this script compatible with fedora ? John 0 367 12-29-2010 06:38 PM
Last Post: John
  circumvent fat32 4Gb file size limit John 0 300 12-17-2010 01:34 AM
Last Post: John
  No Permissions for Script? John 0 338 12-15-2010 08:04 AM
Last Post: John
  limit user access (bash and physically at machine) John 0 251 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