Quick Example ============= This example will assume you want to generate thumbnail images. .. code-block:: php createTask( ImageResizeHandler::class, [__DIR__ . '/images/example-1.jpg', __DIR__ . '/images/thumbnails/example-1.jpg', 100] )->schedule(); // scheduel task twos $scheduler->createTask( ImageResizeHandler::class, [__DIR__ . '/images/example-2.jpg', __DIR__ . '/images/thumbnails/example-2.jpg', 100] )->schedule(); // run tasks $runner->runTasks(); The example will generate two thumbnail images one for the jpg ``example-1.jpg`` and one for ``example-2.jpg`` both in the folder thumbnails. .. note:: You find the `complete source-code`_ for this example here .. _complete source-code: https://github.com/php-task/docs/tree/master/demo