arrizer / PutIO-Perl-folder-sync

4 stars 1 forks source link

Implement check interval #7

Closed Pro closed 12 years ago

Pro commented 12 years ago

Add function to automatically check each hour (time span can define user) if new files are available.

Because if running the script with crontab and it is already running because a download takes longer than the crontab interval files will be downloaded twice or even more often.

arrizer commented 12 years ago

I will implement a PID file to check if another instance of the script is already running.

arrizer commented 12 years ago

PID file single instance check is implemented since 0.6