| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Using perl to schedule a perl scrip
|
Original Message
|
Name: elitemrp
Date: March 26, 2004 at 17:25:41 Pacific
Subject: Using perl to schedule a perl scrip OS: Windows XP CPU/Ram: 1.4 GHz/512 MB
|
Comment: I have a script that writes some data to a file, then when the user accesses another script it deletes the data the original script wrote. Problem is, the user will not always access this second script, so the data isn't always getting removed. So I would like to have the first script schedule a cleanup script to run 5 minutes later. I was thinking of using cron but I only need to do this once, so I would probably want to use "AT", but I'm not sure how. So how, within a perl script, do you schedule another perl script to run 5 minutes later?
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: elitemrp
Date: March 26, 2004 at 18:55:01 Pacific
|
Reply: (edit)Nevermind, i just wrote a cleanup script that removes all the data but the last added, and set up a cron job to run it daily. Although, I guess I'd still like to know of a way to schedule a command to run once at a later time within perl.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home