Uccx 8 weekend scheduled scripts

  I have a script that call center  calls come into queue every Saturday but the user would like for the script to run every 1st and 3rd Saturday. 
I need some examples how to change the script from every saturday to 1st and 3rd saturday of every month. 

@aaronharrison - I didn't know this for a long time either, but Enhanced can also process Java blocks.
About Expression and Java LicensingExpressions are validated against installed licenses to make sure that they do not violate license agreements. This validation is performed by the Cisco CRS Engine whenever a script is loaded or whenever a prompt template or grammar template is accessed and evaluated.For script expressions containing TTS or Java features to work during runtime, you must have either a Cisco Unified IP IVR, a Cisco Unified CCX Enhanced, or a Cisco Unified CCX Premium license.Note  In Cisco Unified CCX Standard, you can enter only simple expressions unless you also have a Java license. You automatically have a Java license with the other four Cisco Unified CCXproducts.
Source:
http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/programming/guide/uccx851_exp_lang.pdf

Similar Messages

  • Task Scheduling Script - Need help with passing the scheduled command (variables are not being evaluated)

    Hi Everyone,
    I'm trying to get a simple task scheduler script to work for me and can't get the command I need passed to the scheduler to evaluate properly.
    Here's the script:
    ###Create a new task running $Command and execute it Daily at 6am.
    $TaskName = Read-Host 'What would you like this job to be named?'
    $Proto = Read-Host 'What is the protocol? (FTP/FTPS/SFTP)'
    $User = Read-Host 'What is the user name?'
    $Pwd = Read-Host 'What is the password?'
    $Server = Read-Host 'What is the server address?'
    $NetworkDir = Read-Host 'Please input the network location of the file(s) you wish to send. Refer to documentation for more details.'
    $RemoteDir = Read-Host 'Please input the REMOTE directory to which you will upload your files. If there is none please input a slash'
    $Command = 'winscp.com /command "option batch abort" "option confirm off" "open $Proto://$User:$Pwd@$Server" "put $NetworkDir $RemoteDir" "exit"'
    $TaskAction = New-ScheduledTaskAction -Execute "$Command"
    $TaskTrigger = New-ScheduledTaskTrigger -Daily -At 6am
    Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "$TaskName" -User "Administrator" -RunLevel Highest
    Write-Host "$TaskName created to run Daily at $TaskStartTime"
    What's messing up is the $Command creation, the command needs to have the quotes around "option blah blah", but if I wrap the whole line in single quotes the variables that are evaluated for the "open blah blah" strings (which also need
    to be inside quotes) and the "put blah blah" string are not being evaluated properly.
    I've dorked about with different bracketing and quoting but can't nail the syntax down, could someone point me in the right direction? My Google-fu seems to be lacking when it comes to nailing down this issue.
    Thanks

    Hmmn, closer. I'm getting this error now:
    + $Command = $tmpl -f  $User, $Pwd, $Server, $NetworkDir, $RemoteDir
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (winscp.com /com...t {4} {5}" exit:String) [], RuntimeException
        + FullyQualifiedErrorId : FormatError
    And the command being added to the new task looks like this:
    winscp.com /command "option batch abort" "option confirm off" "open ($Proto)://($User):($Pwd)@($Server)" "put $NetworkDir $RemoteDir" "exit"
    Here's the current state of the script. I get what you're doing to try to bypass the quotes issue, using an array. I'm just not awesome at this yet sooooooo...
    $TaskName = Read-Host 'What would you like this job to be named?'
    $Proto = Read-Host 'What is the protocol? (FTP/FTPS/SFTP)'
    $User = Read-Host 'What is the user name?'
    $Pwd = Read-Host 'What is the password?'
    $Server = Read-Host 'What is the server address?'
    $NetworkDir = Read-Host 'Please input the network location of the file(s) you wish to send. Refer to documentation for more details.'
    $RemoteDir = Read-Host 'Please input the REMOTE directory to which you will upload your files. If there is none please input a slash'
    $tmpl = 'winscp.com /command "option batch abort" "option confirm off" "open {0}://{1}:{2}@{3}" "put {4} {5}" exit'
    $Command = $tmpl -f $User, $Pwd, $Server, $NetworkDir, $RemoteDir
    $TaskAction = New-ScheduledTaskAction -Execute $Command
    $TaskTrigger = New-ScheduledTaskTrigger -Daily -At 6am
    Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "$TaskName" -User "Administrator" -RunLevel Highest
    Write-Host "$TaskName created to run Daily at $TaskStartTime"

  • Exchange 2010 task scheduled scripts not working if not logged on

    Hi All,
    I have done a script for Exchange 2010 and I would like to create a scheduled task for it.
    I have followed the guidance of Mike Pfeiffer's blog.
    http://www.mikepfeiffer.net/2010/02/creating-scheduled-tasks-for-exchange-2010-powershell-scripts/
    However when I set the task as  “Run whether user is logged on or not”, it only works if the user running the task is the administrator. The task is run with high privileges.
    If I do it with a service account (local admin, exchange org admin) it works only when:
    -You run the script for an interactive session of the user or a runas cmd
    -You set the Task as “Run only when the user is logged on” (and the user is logged on)
    If I run the Task as “Run whether user is logged on or not” and the user is not logged on, I get an error on the connection command "Connect-ExchangeServer -auto" (and the task hangs waiting for an answer). The transcript is as follows:
    Transcript started, output file is C:\scripts\informes\pruebasconexion.Log.txt
             Welcome to the Exchange Management Shell!
    Full list of cmdlets: Get-Command
    Only Exchange cmdlets: Get-ExCommand
    Cmdlets that match a specific string: Help *<string>*
    Get general help: Help
    Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
    Show quick reference guide: QuickRef
    Exchange team blog: Get-ExBlog
    Show full output for a command: <command> | Format-List
    Tip of the day #31:
    Tab completion reduces the number of keystrokes required to complete a cmdlet. Just press the TAB key to complete the cmdlet you are typing. Tab completion kicks in whenever there is a hyphen (-) in the input. For example:
     Get-Send<tab>
    should complete to Get-SendConnector. You can even use wildcards, such as:
     Get-U*P*<tab>
    Pressing the TAB key when you enter this command cycles through all cmdlets that match the expression, such as the Unified Messaging Mailbox policy cmdlets.
    WARNING: The service  () isn't running. Connecting to remote Powershell requires this service to be running.
    VERBOSE: Connecting to CAS01.XXX.es
     An internal error occurred. 
        + CategoryInfo          : InvalidArgument: (http://cas01.XX...Ver=14.1.218.15:Uri) [], PSInvalidOperationException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    VERBOSE: Connecting to CAS02.XXX.es
    An internal error occurred. 
        + CategoryInfo          : InvalidArgument: (http://cas02.XX..Ver=14.1.218.15:Uri) [], PSInvalidOperationException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    WARNING: The service  () isn't running. Connecting to remote Powershell requires this service to be running.
    VERBOSE: Connecting to MBX02.XXX.es
    An internal error occurred. 
        + CategoryInfo          : InvalidArgument: (http://mbx02.XX...Ver=14.1.218.15:Uri) [], PSInvalidOperationException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    VERBOSE: Connecting to CAS01.XXX.es
    An internal error occurred. 
        + CategoryInfo          : InvalidArgument: (http://cas01.XX...Ver=14.1.218.15:Uri) [], PSInvalidOperationException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    VERBOSE: Connecting to CAS02.XXX.es
    An internal error occurred. 
        + CategoryInfo          : InvalidArgument: (http://cas02.XX...Ver=14.1.218.15:Uri) [], PSInvalidOperationException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    WARNING: The service  () isn't running. Connecting to remote Powershell requires this service to be running.
    VERBOSE: Connecting to MBX02.XXX.es
    An internal error occurred. 
        + CategoryInfo          : InvalidArgument: (http://mbx02.XX...Ver=14.1.218.15:Uri) [], PSInvalidOperationException
        + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.:
    The error message refers to a unkown "() service", but I have no clue of which service can be needed and it is working only when session is opened.
     The command I run is
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". 'c:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1';c:\scripts\informes\estado_db_dag.ps1"
    UNICAN-SdeI

    I experienced a similar symptom where the scheduled task was getting stuck in the "Running" state. I searched the web for others who have experienced this issue with scheduled tasks, and what I found is that there could be a few reasons why
    this might happen. 
    I resolved my problem by adding -NonInteractive switch before the -command parameter.
    Hope it helps...
    In my case, -NonInteractive does indeed stop the task from getting stuck in a perpetual Running state (until it times out based on the settings in scheduled task), but I was able to deduce why by using Start-Transcript and Stop-Transcript.
    Basically, the connection to Exchange is failing some reason and it sits at a prompt waiting for you to enter a FQDN for an Exchange server (same problem as the OP).  Adding -NonInteractive to the scheduled task does indeed prevent the task from getting
    stuck waiting for someone to enter a FQDN at a prompt that they cannot interact with, the script still does not execute correctly.  Essentially, adding the "-NonInteractive" switch does not fix the underlying problem of the Exchange connection
    failing.
    As far as I am able to tell, this has something do with a WinRM problem.  I'm having the same problem as the OP and am trying to troubleshoot it.  In my case, deleting the user profile for the service account does not fix the problem.

  • How to edit RMAN schedule script on OEM?

    I created a schedule backup script on RMAN using OEM. But I didin't include the log error clause in the script. But now I can't find in OEM where can I change the script. I found only where the script is showed.
    Someone could help me?

    You need to create new backup schedule with corrected script and remove the old one.

  • DataGurad - How to schedule scripts for failover

    Sir,
    We configured dataguard(Oracle9i, WIndows 2000 server). I have one doubt.
    How can we make Standy Server as Primary when Standby database fails
    without DBA executing commands?
    eg: Put all commands in on script file(eg: std.sql) and call from Batch file.
    But how to set/schedule this file?
    regards
    Mathew

    In Brtools you can always see the "Command line" before executing an action, You can simply copy that and use it to run BRTOOLS command from prompt, You can make a script with it and schedule via Cron.
    Regards
    Juan

  • UCCX 8.0 (2) - script for holliday

    Hi Guys,
    I need change the script about holliday in my Customer, but, I never implement this specific script. Any have idea about this?
    Thanks,
    Wilson                   

    Hi Gergely,
    I spoken again with my Customer, in the really He not have script for specific holiday. Today he have the script for weekend and he would like change this script to attend too in the holiday.
    I don´t experience with creating script, do You have any model?
    Thanks,
    Wilson

  • Scheduling scripts and related overhead!!

    Hello All,
    We are in the process to make our some of the crons availability to maximum., ie it should be running all the time in case of one of our instance crash.
    We have two node rac cluster and we want to run our generateDailiy.sh, generateWeekly.sh and generateMonthly.sh script to run through DBMS shceduler. These scripts wil in turn creates PL/SQL code and execute it and fetches the data and generate reports. I know its better to use scheduled procedure than do the things in this fashion, but what to do, the things are like this at the moment:-). May be in future it can be changed.
    I have some query in this regard like:-
    1> If we are continuing like this, what is the performace impact on the database?
    2> In case one instance goes down, what will happen to rest of the transactions? While the procedure (s) called through script, are fetching data from the database
    Thanks in advance,
    Amit

    Hi,
    dbms_scheduler has a very low overhead and just these jobs will not have any performance impact.
    If an instance goes down, in-progress transactions will be aborted. This follows Oracle's data consistency models.
    For further scheduler questions you can use the scheduler forum here
    Scheduler
    Hope this helps,
    Ravi.

  • Stopping/starting BO4 via scheduled script (SIA enough?)

    Hi,
    We are wishing to implement a backup stratgey for our new BO4 deployment running on 2 windows servers against Oracle 11 CMS database.
    Wish to have cold backups in addition to hot ones.
    In order to implement cold backups will need to bring the BOE services down via script.
    Just wondered as to best practice.
    1) Is it sufficient to simply stop the SIA via script and what would command be.  In old XIR2 we have net stop and net start server names.
    I'm assuiming fine to leave Tomcat up and running during this time - will be for up to 1 hr during night when nobody using system.
    Many Thanks
    Edited by: Philip O'Rourke on Jan 14, 2012 12:58 PM

    Create a file C:\Windows\reboot-script.bat and put the following command string in it:
    shutdown /r /f /d P:4:1
    /r  = reboot
    /f  = force running applications to close (this shuts down BOE and Tomcat)
    /d  P:4:1  = the reason for the reboot (P=Planned)
         the numbers are Major and Minor reasons for the reboot
         4:1 = Application:Maintenance
         4:2 = Application:Installation
    (The /d and it's following parameters are not really necessary but I put them in there so that my Wintel support team can see the reboot is planned and executed by me)
    With that one command string in your *.bat file, you can then use Task Scheduler to "Start a Program" at the specified time you need.
    CAUTION:  If you set this up and run it under your own ID, that can lead to inconsistent results.  It's really much better to run it as SYSTEM (your Windows Admin has to get involved) or a Service Account.  This is on the General tab of the Task Scheduler.

  • UCCX 8.5.1 Scripting Assistance - Set Priority

    Hello,
    I am trying to configure the priority in my script similar to how they did this in the below discussion. 
    https://supportforums.cisco.com/discussion/11892936/uccx-851-basic-scripting-assistance-set-priority
    When I put the "set priority" in the script it errors out and callers hear the message that the system is experiencing problems.  The script runs fine without the "set priority".  Any assistance would be greatly appreciated.

    Chris,
    I attempted to validate the script and did get an error with the "Set Enterprise Call Info" step.  What's odd is that without the priority step the script still does not validate, but actually works fine.  As soon as I add the priority step to it though it breaks.
    I removed the "Set Enterprise Call Info" step and the priority works as expected now.  Thank you for your assistance.
    Jared

  • UCCX 8.5 Record script not working

    Hi,
    I am attempting to create a script that allows a caller to leave a message or receive a callback if they are in the queue.  I'm using the BaseLineAdvQueuing script from the script repository.  It works fine except the part where the user either leaves a message for voicemail, or leaves a message for callback.
    When they press a button to leave a callback, the default prompt says "please leave a message..." and then it beeps, but then rings and i get the "system is experiencing problems" error.
    I isolate the script and narrow it down to the Recording prompt.  I created a sample script that simply prompts the user to record, but i am receiving the same error.
    My MIVR logs contain the following error:
    CMTRecordingDialogImpl:: Can not initialize Audio Doc Impl; nested exception is:
    java.io.FileNotFoundException: /opt/cisco/uccx/temp/[email protected] (Permission denied)
    My test script is attached.  Has anybody see error before?
    thank You

    Sounds like CSCud12937 - Temp folder for prompt recordings have incorrect permissions

  • UCCX Failed to load script

    Hello,
    i am relatively new to uccx and scripts. i copied some (many) scripts from the customer i am working with to use in my lab for testing purposes. We both are running uccx 8.5.1.11003-32 and all the scripts seem to open except 1.
    When trying to open the script in cisco unified cxx editor ( ver 8.1(1.0) ) i get the following error :
    Failed to load script file; com.cisco.ScriptException: Failed to load script: \default\scriptname.aef; nested exception is: java.lang.ClassNotFoundException: org.jdom.Document
    Any ideas ?? i would really like to get this lab working and any help would be much appreciated
    Thank you in advance

    Hi, the script probably contains a reference to the jdom library, ask the customer about the version they are using and get it at jdom.org.
    G.
    Sent from Cisco Technical Support Android App

  • UCCX 8.0 Outbound Scripts

    Hi all,
    With the Outbound module in UCCX 8.0, we were wondering whether it was possible to show agents more info about the contact they will be calling (when reserved for an outbound call) besides the 6 fields in the Dial List (account number, first name, last name, phone01, phone02, phone03)?
    We were thinking along the lines of updating CAD's integrated web browser with more customer details fetched from the CRM database, or perhaps triggering a macro to pull and display the contact's record in another application...
    Is any such thing available with UCCX? For those using the Outbound subsystem in UCCX -- are your agents satisfied with knowing only the account number and name of the contact they will be calling?
    Many thanks for your input!
    ~ Eric

    Hi!
    I need to integrate the Outbound campaign with the Integrated Browser to open up contact information from the customer CRM.
    In order to achieve this I need to use HTTP Action and on the Requested data I need to choose something that matches the Account Number we insert in the contacts file we upload to the campaign.
    Is the Request Data = *Customer Account Number enterprise variable? Or should be the BAAccountNumber enterprise variable I have to use on the HTTP Action?
    The BAAccountNumber don't show up on the REquest Data drop box...Can I use the other?
    I'm using UCCX8.5
    Thx in advance,
    Rui

  • Setup scheduled script for "dot_clean/volumes/"

    Hi,
    I'd like to create a script to run every evening that cleans our windows shares of the "._" files that appear. Can you tell me how to create a script like this, please:
    dot_clean /volumes/
    This is a script I've created so far, but it's saying 'permission denied'.
    do shell scripts"~/ desktop / dot_cleanscript.rtf" password "password" with administrator privileges
    Please help
    Thanks
    Chris

    You need to save the script as plain text, not RTF, include the following on the top line of the file:
    #!/bin/sh
    and set the executable bit on it. To do this, run:
    chmod +x
    on the file.
    (46290)

  • UCCX 8.5 StreamCorruptedException: Scripts with Java

    I was hoping anyone could help me with why this happens when a Script that contains custom Java classes causes this:
    9050348: Dec 03 02:05:57.283 EET %MADM-SCRIPT_MGR-3-UNABLE_LOAD_SCRIPT:Unable to load script: Script=/CCInfoCollection.aef,Exception=com.cisco.io.StreamCorruptedException: invalid type code: 06; unable to load expression; ensure all custom classes are available; nested exception is:
    java.io.StreamCorruptedException: invalid type code: 06
    9050349: Dec 03 02:05:57.283 EET %MADM-SCRIPT_MGR-3-EXCEPTION:com.cisco.io.StreamCorruptedException: invalid type code: 06; unable to load expression; ensure all custom classes are available; nested exception is:
    9050350: Dec 03 02:05:57.283 EET %MADM-SCRIPT_MGR-3-EXCEPTION:          java.io.StreamCorruptedException: invalid type code: 06
    Thanks in advance

    After opening a Cisco TAC, they told me that the server needed a restart in order for all the Java classes to be loaded and visible to the server.
    Just wanted to share this information should anyone else come across this issue in the future.

  • How to schedule script to automate backup of CAS/CAM

    Hi Team,
    I want to configure automate backup of CAS/CAM Device on any free server available in network.
    Is there any script or setting we can configure on these devices

    Hi Amir,
       You can take the Create SSAS database XMLA script and run the job to create the cube. The script contains the Metadata definition of the Database and it does not contain the actual data. 
    Pros: Since you are only creating an empty cube the script will run faster 
    Cons: You still need to process the created cube to use it for reports.
    Fastest option is to take the backup of the cube and restore wherever necessary.
    And you can also use TFS source control to deploy the cube and process it later.
    Regards,
    Venkata
    Venkata Koppula

Maybe you are looking for

  • Final Cut Express won't capture audio with the video anymore, why?

    I have used Final Cut Express 4 for over a year now with no problems, but recently I am unable to capture any audio with the video from my camera. I can do it through iMovie no problem. I can't figure out if I changed a setting by accident because ev

  • How to use ANSI.SYS in Windows-7

    I am still using a number of extended DOS programs, some of which use ANSI.SYS. Although Windows-7 has ANSI.SYS, using it the classical way through a command device=<path>\ansi.sys in CONFIG.NT  on XP Which file replaces CONFIG.NT in Windows-7? Will

  • MacBook Pro with retina display freezes when streaming from Vudu

    I don't know if anyone has experienced this before. I have been trying to watch Non-Stop on Vudu tonight with a lot of issues. After streaming for a while, perhaps some 15-20 minutes or so, the video starts buffering non-stop (ha!). The problem is th

  • CFFORM Problems

    We just upgraded to cfmx7. We are having a problem with CFFORM and text fields. When I have a form with a text field I am finding that if Ipopulate the field with a large amout of text it will not submit. For example ---------------Cold Fusion Code -

  • HT1270 can i ad the 16 gis of ram to this mac

    can i ad the 16 gis of ram to this mac