Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Add support for eligible_* fields in job-db-update
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaer committed Dec 20, 2016
1 parent b51668a commit 5636a4f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sbin/job-db-update
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,15 @@ while ( defined($ARGV[0]) )
$ihead.=",submit_date";
$itail.=",DATE(FROM_UNIXTIME(\'".$resource{"ctime"}."\'))";
}
if ( defined($resource{"etime"}) )
{
$uhead.=",eligible_ts = \'".$resource{"etime"}."\'";
$uhead.=",eligible_date = DATE(FROM_UNIXTIME(\'".$resource{"etime"}."\'))";
$ihead.=",eligible_ts";
$itail.=",\'".$resource{"etime"}."\'";
$ihead.=",eligible_date";
$itail.=",DATE(FROM_UNIXTIME(\'".$resource{"etime"}."\'))";
}
if ( defined($resource{"start"}) )
{
$uhead.=",start_ts = \'".$resource{"start"}."\'";
Expand Down

0 comments on commit 5636a4f

Please sign in to comment.