Hi,

Can anyone help me to solve the following task.

I want to ask perl to launch certain software and normally, we use system command, 
right? That is what I know. Now, due to license constraint, I can't use it at will. 
For instance, I can negotiate with my colleague to ask him/her to release the license 
within certain time and date and I want evoke the software through perl. How do it ask 
perl to check the time and date and in the following manager

 

Task:

check the time and date, for example when current time and date is 11am sharp, 27 
August and I want it to check license just say at 5:30pm 27August onwards and for 
example, when it failed to do so within 1 hours, 6.30pm 27 August, send an email to 
notify me to take necessary action or when it start to launch successfully and the 
process end, send email to notify me as well. In such manner, I don't have to come 
back to office purposely after office hour while I will be informed about the status 
of my task in general.

 

Can something guide me how to do this? For license checking, at this moment I don't 
have any clue but most probably I will use lmstat -a -c > li_check and use perl to 
manipulate the li_check file or some one can show me better solution hints. The 
working environment is sun solaris 8

 

Thank you & best regards,

ABC

 

Reply via email to