Changeset 14042 for trunk/ippTasks/pantasks.pro
- Timestamp:
- Jul 6, 2007, 9:10:14 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/pantasks.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/pantasks.pro
r13949 r14042 256 256 if ($exitCode == $EXIT_SUCCESS) 257 257 # the handler scripts update DB the tables; here we just update the page 258 book setword $bookName $pageName state DONE258 book setword $bookName $pageName pantaskState DONE 259 259 return 260 260 end 261 261 262 262 # failure related to the data files 263 # jobs which result in DATAERR must have db state updated263 # jobs which result in DATAERR must have db pantaskState updated 264 264 if ($exitCode == $EXIT_DATA_ERR) 265 265 showcommand failure 266 book setword $bookName $pageName state DATA_ERR266 book setword $bookName $pageName pantaskState DATA_ERR 267 267 return 268 268 end … … 279 279 # stop 280 280 showcommand "system failure" 281 book setword $bookName $pageName state SYS_ERR281 book setword $bookName $pageName pantaskState SYS_ERR 282 282 return 283 283 end … … 287 287 # stop 288 288 showcommand "config error" 289 book setword $bookName $pageName state CONFIG_ERR289 book setword $bookName $pageName pantaskState CONFIG_ERR 290 290 return 291 291 end … … 295 295 # stop 296 296 showcommand "programming error" 297 book setword $bookName $pageName state PROG_ERR297 book setword $bookName $pageName pantaskState PROG_ERR 298 298 return 299 299 end … … 301 301 # any other exit status 302 302 showcommand failure 303 book setword $bookName $pageName state UNKNOWN_ERR303 book setword $bookName $pageName pantaskState UNKNOWN_ERR 304 304 end 305 305 … … 311 311 end 312 312 313 book delpage $1 -key state DONE314 book delpage $1 -key state SYS_ERR315 book delpage $1 -key state DATA_ERR316 book delpage $1 -key state PROG_ERR317 book delpage $1 -key state CONFIG_ERR318 book delpage $1 -key state UNKNOWN_ERR319 end 313 book delpage $1 -key pantaskState DONE 314 book delpage $1 -key pantaskState SYS_ERR 315 book delpage $1 -key pantaskState DATA_ERR 316 book delpage $1 -key pantaskState PROG_ERR 317 book delpage $1 -key pantaskState CONFIG_ERR 318 book delpage $1 -key pantaskState UNKNOWN_ERR 319 end
Note:
See TracChangeset
for help on using the changeset viewer.
