Client Management Suite

 View Only
Expand all | Collapse all

I need to know how to create job and task for copy folder to workstation

  • 1.  I need to know how to create job and task for copy folder to workstation

    Posted May 29, 2015 03:59 PM

    I have some file and directory

    Rource:

    \\nts02\isuserdata\Shrdp\Ops Procedure\Downtime Procedures

    Destination:  6 workstations

    each workstation c:\downtime procedures

    I need to run everyday but only when they have new files then need to copy over to each workstation, you do not need copy all the files again every day.

    Can I use job and task with schedule time daily?

    what is the command for this?

     

    Thanks

     

    Lillian

     

     



  • 2.  RE: I need to know how to create job and task for copy folder to workstation

    Broadcom Employee
    Posted May 30, 2015 08:21 AM

    Hi,

    You may create script task with xcopy command and schedule it to run each day.

    To create a task: NS Console -> Manage -> Jobs abd Tasks. Right-click in the left pane to some folder and select New -> Task. In Create New Task dialog scroll down left tree to the bottom and find "Run Script" task. Press OK. New task will be created. In a script details add:

    ===========

    set SRC_DIR="\\10.11.0.20\inc\abiz\Downtime Procedures"
    set TRG_DIR=c:\downtime
    xcopy %SRC_DIR%\*.* %TRG_DIR% /D /Y /I

    ===========

    Switch /D should take care about "copy only new files" requirement.

    Press "Save Changes". Press "New Schedule". Add desired schedule time. set "Repeat Every" to one day. Now press "Add" and select computers on which you wish to execute the script. Press "Schedule" - new schedule will be created.

    HTH,

    Alex.

    copy-files-task.png



  • 3.  RE: I need to know how to create job and task for copy folder to workstation

    Posted Jun 23, 2015 12:04 PM

    Thank you so much