Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > other software & services
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old December 28th, 2010, 04:57 PM
Coolio10's Avatar
Coolio10 Coolio10 is offline
Very Frequent Poster
 
Join Date: Sep 2006
Posts: 1,124
Default A Task Scheduler

Is there a free task scheduler that can run a application/vbscript every few seconds. The windows task manager has a 60 second minimum.
  #2  
Old December 28th, 2010, 08:09 PM
majoMo's Avatar
majoMo majoMo is offline
Frequent Poster
 
Join Date: Aug 2007
Posts: 784
Default Re: A Task Scheduler

My suggestion: a batch file (.bat or .cmd), in windows task manager...

Quote:
::5=5 sec.
@echo off
:START
ping 127.0.0.1 -n 5 > nul
start "" calc.exe
GOTO START

  #3  
Old December 28th, 2010, 08:46 PM
Coolio10's Avatar
Coolio10 Coolio10 is offline
Very Frequent Poster
 
Join Date: Sep 2006
Posts: 1,124
Default Re: A Task Scheduler

Quote:
Originally Posted by majoMo
My suggestion: a batch file (.bat or .cmd), in windows task manager...



Thanks, worked perfectly.
  #4  
Old December 29th, 2010, 03:51 AM
Franklin's Avatar
Franklin Franklin is offline
Very Frequent Poster
 
Join Date: May 2005
Location: West Aussie
Posts: 2,517
Default Re: A Task Scheduler

Quote:
Originally Posted by majoMo
My suggestion: a batch file (.bat or .cmd), in windows task manager...
Came in handy here as well, thanks majoMo.
  #5  
Old December 29th, 2010, 04:53 AM
pajenn's Avatar
pajenn pajenn is offline
Frequent Poster
 
Join Date: Oct 2009
Posts: 598
Default Re: A Task Scheduler

For situation like this I would use and recommend others learn to use Autohotkey.

It's an easy program or scripting language intended to create hotkeys for launching programs, automating key stroke and mouse click sequences and such, but it can also do a lot more if you learn to use it.

It's free and you can initially use the included 'macro recorder' to create hotkeys, but to really benefit from it you need to put in a bit of time and effort to learn it. If you do, it'll become one of those programs you can't image living without.
__________________
Main machine: Samsung laptop, i7 QuadCore, 16GB RAM, SSD, USB3.0, Win7 Home Premium 64-bit (main), Mint 12.4 (linux newbie)
Software: Comodo Internet Security, KeyScrambler, Keepass w/ Dropbox to sync, Sandboxie, Peerblock, Drive Snapshot, a2cmd, EasyBCD for custom boot, AutoHotkey.

Last edited by pajenn : December 29th, 2010 at 04:59 AM.
  #6  
Old December 29th, 2010, 06:40 AM
Franklin's Avatar
Franklin Franklin is offline
Very Frequent Poster
 
Join Date: May 2005
Location: West Aussie
Posts: 2,517
Default Re: A Task Scheduler

I was using WinHotKey here but some of these new Ransom/Winlock/Screenlockers lock everything up where hotkeys just won't work whereas the batchfile, which has to be running before executing the malware, works a treat.
  #7  
Old December 29th, 2010, 09:27 AM
pajenn's Avatar
pajenn pajenn is offline
Frequent Poster
 
Join Date: Oct 2009
Posts: 598
Default Re: A Task Scheduler

AutoHotkey scripts don't require actual hotkeys to launch. For example, here's an example from the AutoHotkey help file of a script that runs in the background and closes annoying windows (if present) every 250 milliseconds:

Quote:
; Example #1: Close unwanted windows whenever they appear:
#Persistent
SetTimer, CloseMailWarnings, 250
return

CloseMailWarnings:
WinClose, Microsoft Outlook, A timeout occured while communicating
WinClose, Microsoft Outlook, A connection to the server could not be established
return

You could paste that into notepad and save it as an .ahk file. Then double click it to launch it, let Task Manager launch it, or add (a link to) it to Startup folder to load it automatically with Windows. Replacing the "WinClose,..." lines with "Run, calc.exe" would make it run the Calculator app repeatedly instead of closing windows. (Normally you may need to specify the full path to the exe or vbscript file whereas with calc.exe the path is available in the registry).
__________________
Main machine: Samsung laptop, i7 QuadCore, 16GB RAM, SSD, USB3.0, Win7 Home Premium 64-bit (main), Mint 12.4 (linux newbie)
Software: Comodo Internet Security, KeyScrambler, Keepass w/ Dropbox to sync, Sandboxie, Peerblock, Drive Snapshot, a2cmd, EasyBCD for custom boot, AutoHotkey.
 

Wilders Security Forums > Software, Hardware and General Services > other software & services « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:28 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums