What's new

[HELP] Build CRON command

ermax

New Around Here
Please help write CRON command for
/jffs/scripts/init-start

Need every 1 hours get (wget) page like site.com/api_blabla

I now comand start with
#!/bin/sh

But other code i don't understand how write (:

Please help
 
Use the "cru" tool. Syntax:

Code:
Cron Utility
add:  cru a <unique id> <"min hour day month week command">
delete: cru d <unique id>
list:  cru l

So,

Code:
cru a wgetjob " 0 * * * * wget site.com/api_blabla"

This will run every time the clock hits "0" minutes. 1:00, 2:00, etc...
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top