Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if dbfile exists in main loop #6

Open
justyns opened this issue Nov 12, 2011 · 0 comments
Open

Check if dbfile exists in main loop #6

justyns opened this issue Nov 12, 2011 · 0 comments

Comments

@justyns
Copy link
Owner

justyns commented Nov 12, 2011

right now, if you delete dbfile while watch.php is still running, it will error out and die - but it also leaves a 0byte db file in its place causing it not to create the db automatically.

as part of the main while loop, it needs to check if the file exists and die if not so that it can be created the next time cron runs watch.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant