> Hi all, > > Hope I can Explain: > > I want to "run" online some function (code written by me) so that this code > "saves" an output file on my server and my html webpage read the file R > plots and save (really manually I would run R function, open Filezilla, and > pass the output png o jpg file). > > Is it possible to do this "authomatically" telling R, something like each > 15 minutes run this "pru.txt" file, and take save this plot.png and execute > filezilla with this inputs and save the plot in this folder? > > Hope you can understand me. > > In rmarkdown it is true that output html file but my intention is tu run my > own function and the need is to run my function in R, and run and open > filezilla and deposit the file in the right place.
You should use cron, (man cron): cron (8) - daemon to execute scheduled commands (Vixie Cron) So you schedule your task. -- Marco Arthur @ (M)arco Creatives ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.