Alternative to Crontab
Bruce Marshall
bmarsh at bmarsh.com
Sat Nov 24 08:14:20 PST 2007
On Saturday 24 November 2007, jenix wrote:
> "In which case, it is not cron that is the problem, it is the
> activity......"
>
> I want to fetch a dynamically generated csv file and import it into mysql.
> The data changes by the second. Realtime connection would be great. But
> have no idea how to do that.
Well, the activity is still going to be your problem.
What do you use as a command in your crontab to go get the file?
Your lowest activity I would think would be to find some way to see if the
file has changed, and only retrieve it when it has. Do you have any control
over the machine with the file? I.e., can you have a script running on the
sending machine that would only send when the file has changed?
More information about the Linux-users
mailing list