Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> Change from scripts to crons to make more sense
  • Loading branch information
NaysKutzu committed Aug 22, 2023
1 parent 565e5d0 commit f71201d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 14 additions & 0 deletions crons/server.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
echo "====== MythicalDash queue ======\n\n";
echo "[INFO/loader] Loading files...\n";
try {
if (file_exists('../vendor/autoload.php')) {
require("../vendor/autoload.php");
} else {
die("Hello, it looks like you did not run: 'composer install --no-dev --optimize-autoloader'. Please run that and refresh the page");
}
} catch (Exception $e) {
die("Hello, it looks like you did not run: 'composer install --no-dev --optimize-autoloader' Please run that and refresh");
}

?>
4 changes: 0 additions & 4 deletions scripts/cron.php

This file was deleted.

0 comments on commit f71201d

Please sign in to comment.