Skip to content

Commit a446eb1

Browse files
committed
Merge pull request #2 from cma/master
Fix the first example in README.markdown
2 parents f407888 + 11bdc5c commit a446eb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ point in the future. The classic example is sending an email:
2727
require 'Resque/Resque.php';
2828
require 'ResqueScheduler/ResqueScheduler.php';
2929

30-
$in = strtotime('+5 days');
30+
$in = 3600;
3131
$args = array('id' => $user->id);
3232
ResqueScheduler::enqueueIn($in, 'email', 'SendFollowUpEmail', $args);
3333

34-
The above will store the job for 5 days in the delayed queue, and then pull the
34+
The above will store the job for 1 hour in the delayed queue, and then pull the
3535
job off and submit it to the `email` queue in Resque for processing as soon as
3636
a worker is available.
3737

@@ -100,4 +100,4 @@ of the job, the class name of the job, and the job's arguments.
100100

101101
## Contributors ##
102102

103-
* chrisboulton
103+
* chrisboulton

0 commit comments

Comments
 (0)