C
Curious
Hi,
I've created a scheduler job with FORFILES command to delete files
older than certain days old. My job definition is as below:
\\DEVCRP01 forfiles /P "d:\CRPCORE\ServiceLogs" /M *.* /D
-30 /S /C "del @FILE"
But the job failed because of "ERROR: The system cannot find the file
specified.". See error details below:
-------------------------------------------------Complete
Error----------------------------------------------------------
PsExec v1.55 - Execute processes remotely
Copyright (C) 2001-2004 Mark Russinovich
Sysinternals - www.sysinternals.com
ERROR: The system cannot find the file specified.
ERROR: The system cannot find the file specified.
Connecting to
DEVCRP01...
Starting PsExec service on
DEVCRP01...
Connecting with PsExec service on
DEVCRP01...
Starting forfiles on
DEVCRP01...
forfiles exited on DEVCRP01 with error code 1.
Completed at 6/7/2007 3:11:21 PM
-------------------------------------------------Complete
Error----------------------------------------------------------
Anyone can tell me what's wrong? Thanks!
I've created a scheduler job with FORFILES command to delete files
older than certain days old. My job definition is as below:
\\DEVCRP01 forfiles /P "d:\CRPCORE\ServiceLogs" /M *.* /D
-30 /S /C "del @FILE"
But the job failed because of "ERROR: The system cannot find the file
specified.". See error details below:
-------------------------------------------------Complete
Error----------------------------------------------------------
PsExec v1.55 - Execute processes remotely
Copyright (C) 2001-2004 Mark Russinovich
Sysinternals - www.sysinternals.com
ERROR: The system cannot find the file specified.
ERROR: The system cannot find the file specified.
Connecting to
DEVCRP01...
Starting PsExec service on
DEVCRP01...
Connecting with PsExec service on
DEVCRP01...
Starting forfiles on
DEVCRP01...
forfiles exited on DEVCRP01 with error code 1.
Completed at 6/7/2007 3:11:21 PM
-------------------------------------------------Complete
Error----------------------------------------------------------
Anyone can tell me what's wrong? Thanks!