Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set cron job from R? #1

Open
rossmounce opened this issue Jan 31, 2017 · 4 comments
Open

Set cron job from R? #1

rossmounce opened this issue Jan 31, 2017 · 4 comments

Comments

@rossmounce
Copy link
Owner

Investigate cronR https://github.com/bnosac/cronR
suggested by Thomas https://twitter.com/thomasingalls/status/826437598713294849

@rossmounce
Copy link
Owner Author

The warning is a little bit scary, I have existing cron jobs that I don't want erased:
"Currently, cronR does not preserve or handle cron jobs not generated through the package"

Perhaps direct users to the existence of package & provide an example but don't make it automatically executed.

@sje30
Copy link

sje30 commented Jan 31, 2017

I'm not sure cronR is needed, just run this as a regular script from cron?

@rossmounce
Copy link
Owner Author

I'm just not sure all that many people know how to setup a cronjob.
If there was Rcode to just run & magically have it done, that'd be great.
But then that kind of user may not have an always on machine anyway

@chartgerink
Copy link

Maybe you could check out the system() function, seems like it could just echo the job into the cron file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants