Go here:juanamores wrote:How I can do to make the bot save me a file ...
This would be handled by something else - not eggdrop itself.... that is accessible from the outside via IP : port , ...
This depends on the permissions of the new directory and the permissions on the file....which can be read by another program ?
Not exactly sure what you are asking here.To be hosted on a VPS , share the IP with my web , but the web content is elsewhere (not in the VPS)
Is it possible? Mmm .....
Thank you very much willyw, I think they are excellent ideas about the bash script added to a crontab.willyw wrote: Perhaps you would want some bash script, driven by crontab, to move the new file.
...........
But if you are asking there is a way to copy this new file that Eggdrop has created for you, to another location somewhere on the web - then it is possible.
Google for bash scripts that automate ftp .
................
Code: Select all
* */1 * * * /home/juan/mycode.sh >/dev/null 2>&1
Code: Select all
sh mycode.sh
Code: Select all
* */1 * * * sh /home/juan/mycode.sh > /dev/null 2>&1
Code: Select all
0 * * * * sh /home/juan/mycode.sh > /dev/null 2>&1
Code: Select all
* * * * *
Code: Select all
0-59 * * * *
Code: Select all
1,2,3......59 * * * *
juanamores wrote: ...Code: Select all
* */1 * * * /home/juan/mycode.sh >/dev/null 2>&1
Your line quoted first above, is not the standard way of doing 'every minute'....It has to be every minute, ...
Code: Select all
* * * * * /home/juan/mycode.sh >>/var/log/mylog
Code: Select all
[juan@vps804251 ~]$ cd /var/log
[juan@vps174886 log]$ pwd
/var/log
[juan@vps174886 log]$ find mylog
find: ‘mylog’: No such file or directory
juanamores wrote: ...
Conclusion: crontab does not run
Code: Select all
date >> /home/your_name_here/somefilename
Code: Select all
* * * * * /home/your_name_here/tempfile >/dev/null 2>&1
What worries me is this: You uploaded 0local: live.txt remote: live.txt
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
local: live.txt remote: live.txt
227 Entering Passive Mode (xxx,xxx,xx,xxx,227,44)
150 Accepted data connection
226-File successfully transferred
226 0.006 seconds (measured here), 4.62 Kbytes per second
28 bytes sent in 5,1e-05 secs (549,02 Kbytes/sec)
221-Goodbye. You uploaded 1 and downloaded 0 kbytes.
221 Logout.