- Dec
- 236
- 2
Why does only one FOLDERMONITOR command work at a time? Here is an example session:
C:\> FOLDERMONITOR /s "c:\Creative Focus Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> touch "c:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub"
2018-02-01 21:44:21.961 C:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub
C:\> foldermonitor
c:\Creative Focus Publishing CREATED MODIFIED RENAMED (1/FOREVER) Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> foldermonitor /c
C:\> FOLDERMONITOR /s "c:\Indesign Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> touch "c:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd"
2018-02-01 21:45:45.567 C:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd
C:\> foldermonitor
c:\Indesign Publishing CREATED MODIFIED RENAMED (1/FOREVER) Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> foldermonitor /c
C:\> FOLDERMONITOR /s "c:\Creative Focus Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> FOLDERMONITOR /s "c:\Indesign Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> touch "c:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub"
2018-02-01 21:46:38.528 C:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub
C:\> touch "c:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd"
2018-02-01 21:46:50.566 C:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd
C:\> foldermonitor
c:\Creative Focus Publishing CREATED MODIFIED RENAMED (1/FOREVER) Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
c:\Indesign Publishing CREATED MODIFIED RENAMED (0/FOREVER) Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
I show that both FOLDERMONITOR commands work when they run separately but when executed together and files in both directories are touched, only the first FOLDMONITOR command fires. Does this mean only one FOLDERMONITOR command per session?
Craig
C:\> FOLDERMONITOR /s "c:\Creative Focus Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> touch "c:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub"
2018-02-01 21:44:21.961 C:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub
C:\> foldermonitor
c:\Creative Focus Publishing CREATED MODIFIED RENAMED (1/FOREVER) Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> foldermonitor /c
C:\> FOLDERMONITOR /s "c:\Indesign Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> touch "c:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd"
2018-02-01 21:45:45.567 C:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd
C:\> foldermonitor
c:\Indesign Publishing CREATED MODIFIED RENAMED (1/FOREVER) Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> foldermonitor /c
C:\> FOLDERMONITOR /s "c:\Creative Focus Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> FOLDERMONITOR /s "c:\Indesign Publishing" /E"*.bak" /W100 CREATED MODIFIED RENAMED FOREVER Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
C:\> touch "c:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub"
2018-02-01 21:46:38.528 C:\Creative Focus Publishing\eBook\Catalog\Christian\Money - Master or Servant\Money - Master or Servant.epub
C:\> touch "c:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd"
2018-02-01 21:46:50.566 C:\Indesign Publishing\Art\Artistic Ideas & Inspirations\About the Artist.indd
C:\> foldermonitor
c:\Creative Focus Publishing CREATED MODIFIED RENAMED (1/FOREVER) Monitor 1 100 "CFP-Folder-Handler1" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
c:\Indesign Publishing CREATED MODIFIED RENAMED (0/FOREVER) Monitor 1 100 "CFP-Folder-Handler2" "c:\JPSoft\Batches\CFP-Folder-Handler.btm"
I show that both FOLDERMONITOR commands work when they run separately but when executed together and files in both directories are touched, only the first FOLDMONITOR command fires. Does this mean only one FOLDERMONITOR command per session?
Craig