bnosac / taskscheduleR

Schedule R scripts/processes with the Windows task scheduler.
330 stars 72 forks source link

Cannot create task #29

Closed cinkie closed 6 years ago

cinkie commented 6 years ago

Already install the latest version from Github.

> packageVersion('taskscheduleR')
[1] ‘1.1’

When trying to create task, error says:

Warning: Error in match.arg: 'arg' should be one of “*”, “MON”, “TUE”, “WED”, “THU”, “FRI”, “SAT”, “SUN”, “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “10”, “11”, “12”, “13”, “14”, “15”, “16”, “17”, “18”, “19”, “20”, “21”, “22”, “23”, “24”, “25”, “26”, “27”, “28”, “29”, “30”, “31”
Stack trace (innermost first):
    69: match.arg
    68: taskscheduler_create
    67: observeEventHandler
     3: shiny::runApp
     2: shiny::runGadget
     1: taskscheduleR:::taskschedulerAddin
ERROR: [on_request_read] connection reset by peer

Any idea on this?

jwijffels commented 6 years ago

can you provide more information on what you did in the user interface - by providing a screenshot.

aishapectyo commented 6 years ago

Hi there, I am having the same issue. Interestingly, I don't have that issue if I run it once and immediately (within 2 minutes), only when I try scheduling it at any other frequency. Thanks for any help you can provide!

In the interface, I browsed for the task, selected a date from the drop down menu, selected monthly, specified a time and clicked create task/done. And then I got the error message below:

Error: the system cannot find the file specified.

Warning: Error in match.arg: 'arg' should be one of “*”, “MON”, “TUE”, “WED”, “THU”, “FRI”, “SAT”, “SUN”, “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “10”, “11”, “12”, “13”, “14”, “15”, “16”, “17”, “18”, “19”, “20”, “21”, “22”, “23”, “24”, “25”, “26”, “27”, “28”, “29”, “30”, “31” Stack trace (innermost first): 69: match.arg 68: taskscheduler_create 67: observeEventHandler 3: shiny::runApp 2: shiny::runGadget 1: taskscheduleR:::taskschedulerAddin

jwijffels commented 6 years ago

Install version 1.2 from Github instead of 1.1 which is on CRAN