diff options
Diffstat (limited to 'example/create-tasks.php')
-rw-r--r-- | example/create-tasks.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/example/create-tasks.php b/example/create-tasks.php index 35968a9..9afc886 100644 --- a/example/create-tasks.php +++ b/example/create-tasks.php @@ -1,10 +1,15 @@ <?php +// this just adds a bunch of meaningless tasks, for testing purposees +// +// in a real world, you will have additional fields in your table +// like 'job_name' and 'job_data' + $db = new mysqli(); if (!$db->real_connect('10.211.55.6', 'jobd', 'password', 'jobd')) die('Failed to connect.'); -$target = 'server1'; +$target = 'server3'; $slots = ['low', 'normal', 'high']; for ($i = 0; $i < 100; $i++) { |