Automating jobs on RSP

Hi, I am looking for a way to automatically run an analysis script which needs access to data available on RSP. I was initially wondering if it would be possible to set it up using crontab, but I see that crontab is not installed on RSP. Also I’m not very savvy with how RSP actually works, so even if crontab were available is my session always “persistent” and therefore would it run when I log out? Or would a better approach be to use crontab on my own machine, but accessing the RSP data remotely using pyvo or similar? I’m pretty inexperienced with this sort of thing so any advice would be appreciated!

Currently your best option is to use pyvo to run periodic jobs from a persistent machine outside the RSP.

Cron will not work as your RSP server is not pesitent. It gets shut down when idle to conserve resources for active users.

One day there is likely going to be another option for this, but for now go with the above.

1 Like

Thanks @frossie that’s all really useful to know! Just as a quick followup, is there a recommended way within the API to then push data from a local machine to the RSP, e.g. rsync?