question about cronjobs and sshd
Hi guys!
I am pretty new in all this scripting, and its very hard for me.
I am not sure if this is right forum to ask, but I will try:)
My problem is:
I am trying to install automatic updates for vsp - statistics script for quake 3.
My server (where my quake 3 osp game is running) has no fpt, but only ssh.
My hosting (where I run all the scripts) has cron job enabled and sshd.
I think about adding three jobs via cron:
1) Download file myserver.log from my server to my hosting via sshd.
2) If first job completed OK, then delete myserver.log from server.
3) Let vsp.php to generate stats from downloaded file myserver.log.
Is it possible in my case to download file myserver.log? Can I use sshd for downloading file from server that has ssh?
Can anyone help me with writing cronjob line for such downloading?
I need also cronjob line for deleting file.
If you want to help me, then please, write everything simple as possible, for dummy:)
Thank you.
Waiting for your answer!
I am pretty new in all this scripting, and its very hard for me.
I am not sure if this is right forum to ask, but I will try:)
My problem is:
I am trying to install automatic updates for vsp - statistics script for quake 3.
My server (where my quake 3 osp game is running) has no fpt, but only ssh.
My hosting (where I run all the scripts) has cron job enabled and sshd.
I think about adding three jobs via cron:
1) Download file myserver.log from my server to my hosting via sshd.
2) If first job completed OK, then delete myserver.log from server.
3) Let vsp.php to generate stats from downloaded file myserver.log.
Is it possible in my case to download file myserver.log? Can I use sshd for downloading file from server that has ssh?
Can anyone help me with writing cronjob line for such downloading?
I need also cronjob line for deleting file.
If you want to help me, then please, write everything simple as possible, for dummy:)
Thank you.
Waiting for your answer!