Quick cron scheduling help needed
-
I’ve set up many cron style upload image tasks in one of my FOG installs and they never fire off. Either i’m not using correct syntax, or something is else is goofy, this install is 1.2.0. The fog schedule service is running (pretty sure) the clients (legacy) are set to auto log out on a task (force reboot)
[CODE]aseikola@qcfog:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
[/CODE][CODE][05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 18 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 19 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 20 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 21 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 18 dom month 2
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 19 dom month 2
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 20 dom month 2
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 21 dom month 2
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 1 dom month 4
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 2 dom month 4
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 4 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 2 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 00 dom month 1
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 22 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 20 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 18 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 10 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 12 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 14 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 16 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 17 dom month 6
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 8 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: 00 5 dom month 0
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:57:35 am] * Task run time: Crontab: * 18 * * 4
[05-12-15 11:57:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * 0 active task(s) awaiting check-in.
[05-12-15 11:58:35 am] * 27 task(s) found.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 4 dom month 3
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 2 dom month 3
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 00 dom month 3
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 18 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 19 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 20 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 21 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 18 dom month 2
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 19 dom month 2
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 20 dom month 2
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 21 dom month 2
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 1 dom month 4
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 2 dom month 4
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 4 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 2 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 00 dom month 1
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 22 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 20 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 18 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 10 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 12 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 14 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 16 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 17 dom month 6
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 8 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: 00 5 dom month 0
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:58:35 am] * Task run time: Crontab: * 18 * * 4
[05-12-15 11:58:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * 0 active task(s) awaiting check-in.
[05-12-15 11:59:35 am] * 27 task(s) found.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 4 dom month 3
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 2 dom month 3
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 00 dom month 3
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 18 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 19 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 20 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 21 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 18 dom month 2
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 19 dom month 2
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 20 dom month 2
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 21 dom month 2
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 1 dom month 4
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 2 dom month 4
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 4 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 2 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 00 dom month 1
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 22 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 20 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 18 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 10 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 12 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 14 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 16 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 17 dom month 6
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 8 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: 00 5 dom month 0
[05-12-15 11:59:35 am] * Task doesn’t run now.
[05-12-15 11:59:35 am] * Task run time: Crontab: * 18 * * 4
[05-12-15 11:59:35 am] * Task doesn’t run now.
[/CODE] -
i think scheduled tasks may have been somewhat broken in 1.2.0
i recommend upgrading to a development version to get this working. -
If the intent is to run those tasks on any (dom) or (month) then you should be sure to put a wildcard, the * character, in those fields that you are not setting.
-
It was adding the * that helped get these going, thanks Deastrom!