@@ -76,11 +76,11 @@ $jobby->run();
7676
7777$jobby->add('LoggingExample', [
7878
79- 'command' => 'ls',
79+ 'command' => 'ls',
8080 'schedule' => '0 * * * *',
8181
8282 // Stdout and stderr is sent to the specified file
83- 'output' => 'logs/command.log',
83+ 'output' => 'logs/command.log',
8484
8585]);
8686
@@ -96,11 +96,11 @@ $jobby->add('LoggingExample', [
9696
9797$jobby->add('DisabledExample', [
9898
99- 'command' => 'ls',
99+ 'command' => 'ls',
100100 'schedule' => '0 * * * *',
101101
102102 // You can turn off a job by setting 'enabled' to false
103- 'enabled' => false,
103+ 'enabled' => false,
104104
105105]);
106106
@@ -120,7 +120,7 @@ $jobby->add('ClosureCommandExample', [
120120
121121 // Use the 'closure' key
122122 // instead of 'command'
123- 'closure' => function() {
123+ 'closure' => function() {
124124 echo "I'm a function!\n";
125125 return true;
126126 },
@@ -141,7 +141,7 @@ $jobby->add('ClosureCommandExample', [
141141
142142$jobby->add('DateTimeExample', [
143143
144- 'command' => 'ls',
144+ 'command' => 'ls',
145145
146146 // Use a DateTime string in
147147 // the format Y-m-d H:i:s
@@ -161,7 +161,7 @@ $jobby->add('DateTimeExample', [
161161
162162$jobby->add('Example', [
163163
164- 'command' => 'ls',
164+ 'command' => 'ls',
165165
166166 // Use any callable that returns
167167 // a boolean stating whether
0 commit comments