Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
3897004b
Commit
3897004b
authored
Sep 22, 2009
by
slopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check if vache is down
parent
08e94e89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
phpcron/every5min.php
phpcron/every5min.php
+8
-0
No files found.
phpcron/every5min.php
0 → 100644
View file @
3897004b
<?php
// check if vache is up
$ping
=
@
fopen
(
"http://barty.me.aeinfo.net/list_heldmsgs.php"
,
'r'
);
if
(
!
$ping
&&
!
file_exists
(
"/tmp/vachedown"
))
@
touch
(
"/tmp/vachedown"
);
elseif
(
$ping
&&
file_exists
(
"/tmp/vachedown"
))
@
unlink
(
"/tmp/vachedown"
);
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment