Hello,
I need to write a short script, I didn't do such a thing before so I actually don't have any idea.
The script is supposed to do these:
- Every morning at 10:00 o'clock it will lauch korganiser
- Take a screenshot of the window by using ksnapshot
- Save the file to desktop with the name TodaysPlans.jpg
- Login to a remote server using ssh (I can already do that manually, but dont know how to login using one line only)
- Rename the TodaysPlans.jpg in the server with the new name <YesterdaysDate>.jpg
- Upload the TodaysPlans.jpg to the server
- Logout
This is all I want
It shouldn't be that difficult. But I really need your help.
Thanks in advance
-Baran