w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Scheduling an UpStart init script via crontab

Crontab environment doesn't provide path, so commands (start ProcessRunner) must include full path.

Full path to commands "start" and "stop", not to your upstart config file!

So, essentially, your crontab shall look like:

0 0 * * * * /sbin/start ProcessRunner
0 2 * * * * /sbin/stop ProcessRunner

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.