![]() |
How to make a script running once a day (like a cron job)?
Hi,
I made a little rsync backup script which syncs the content of a folder on the n900 to a server. This works without a password using public key authentication via ssh. My question now is: How can I make this little script running once a day? Or maybe once a hour? Is there a recommended solution for this? Thanks, jukey |
Re: How to make a script running once a day (like a cron job)?
Isn't cron available on the device?
|
Re: How to make a script running once a day (like a cron job)?
Take a look at this
|
Re: How to make a script running once a day (like a cron job)?
For your scenario, you might also want to take a look at Shepherd. But I think it's not quite ready yet.
|
Re: How to make a script running once a day (like a cron job)?
Quote:
Thank you! @jaark: There is a folder /etc/cron.daily but I can't run the command: cron as user or as root. |
Re: How to make a script running once a day (like a cron job)?
Quote:
You're using PKI auth without a password? Does the server check the validity of the certificate against a specific authority? If not, how will you be able to blacklist the certificate in case your device is stolen or lost? |
Re: How to make a script running once a day (like a cron job)?
Quote:
|
Re: How to make a script running once a day (like a cron job)?
Quote:
Hence my question, are there any server-side systems that allow to verify an SSH key against an authority (not specifically a CA, rather a key repo?) |
Re: How to make a script running once a day (like a cron job)?
SSH supports Kerberos authentication, is this what you need?
http://docstore.mik.ua/orelly/networ...sh/ch11_04.htm |
All times are GMT. The time now is 03:28. |
vBulletin® Version 3.8.8