FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 



Batch file for ping reports

 
Post new topic   Reply to topic    [TweakNews.net Forum] Forum Index -> PHP ,ASP ,MYSQL, HTML, DHTML
View previous topic :: View next topic  
Author Message
hairy_tomato
TweakNOOB


Joined: 14 Jul 2004
Posts: 202
Location: Montreal

PostPosted: Fri Jul 06, 2007 8:27 am    Post subject: Batch file for ping reports Reply with quote

Hey guys,

I'm just starting to teach myself how to write simple scripts and the thing I'm trying to accomplish right now is I want to create a batch file that will ping an ip address every minute and when the ping is not successful I want it to show the date and time it was not successful in a text file as well as a count of the number of times it was not successful.

I know how to make it run every minute but it's the rest I don't know how to do. Anyone know how to do this?

Thanks,
_________________
- Nick
Back to top
View user's profile Send private message
Google
Sponsor





PostPosted: Fri Jul 06, 2007 8:27 am    Post subject: Advertisement

Back to top
hairy_tomato
TweakNOOB


Joined: 14 Jul 2004
Posts: 202
Location: Montreal

PostPosted: Fri Jul 06, 2007 10:58 am    Post subject: Reply with quote

Okay I figured it out. If anybody wants a good reference for batch scripting check out the Microsoft Windows Command Reference.

Thanks,
_________________
- Nick
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    [TweakNews.net Forum] Forum Index -> PHP ,ASP ,MYSQL, HTML, DHTML All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB3 ©