It is definetelly doable. Please see examples available in the on-line help for DirWaitForUpdate, MailSend and FileMove. You can also use regular file-watch jobs that check for files every x minutes or seconds. File watch jobs can also monitor files using file masks like "translog*.dat.x_error" : Hi there, : I'd like to check a directory and be notified by e-mail if a file exists in : this directory. After sending the e-mail message I want the file that has : been found to be moved to a subfolder in the same directory. Example. : Check C:\data\xml\ for files named like "translog*.dat.x_error" : (ofcource without the quotes). : If this file exists, send an e-mail to administrator@ntadmin.com, using MS : Exchange with the subject 'Error importing xml data!'. Then emediatly : after sending the e-mail move the file that has been found to : C:\data\xml\error\. : If this file does not exist do nothing. : I'd like to schedule this job, so it does not have to loop constantly. : Thanx in advance! : Regards, : Zyon
|