on 12-11-2014 7:04 PM
Hello,
I have a CronJob and I need to add a trigger for it to start the cronjob every 1 hour using ImpEx script to retrieve the orders that was added to the system since last execution. I tried using the ImpEx scripts on the Wiki; the result was "Import successfully" but no effect found on the cronjob's "Time Schedule" section and of course the cronjob wasn't starting every 1 hour.
Hi,
I used this way:
INSERT_UPDATE Trigger ; cronJob(code)[unique=true] ; second ; minute ; hour ; day ; month ; year ; relative ; active ; maxAcceptableDelay
; my-cronjob ; 0 ; 0 ; 1 ; -1 ; -1 ; -1 ; true ; true ; -1
Notice active=true and relative=true.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Miroslaw. Now the trigger has been added to the cronJob, but it still retrieves all the data instead of only the data that was added in the last hour. Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.