I am trying to read large files, say an illustrator file or a photoshop file, using cron on my system. File size varies from 20 to 300 mb
I use some kind of function, but during reading it breaks into the middle. Therefore, I wanted to get a new opinion.
Sum of these functions
- file_get_contents
- ReadFile
- curl
which is most effective in terms of
- Consistency (should not be interrupted when reading a file)
- speed
- uses a resource
if there are more than two cron jobs, does this affect all server performance.
Pass the code of best practice.
Thanks in advance
source
share