cronModule

cronModule

class to handle cron

Constructor

new cronModule()

Source:

Methods

(async, static) closeProjects(status, pid)

Source:

close project

Parameters:
Name Type Description
status number

status

pid number

project id

(async, static) cronjobupdate(pid) → {object}

Source:

cron job update

Parameters:
Name Type Description
pid

project id

Returns:

sql query

Type
object

(async, static) deleteAllattach(data, proid) → {object}

Source:

cart quantity product

Parameters:
Name Type Description
data object

data

proid number

product id

Returns:

sql query

Type
object

(async, static) getCommonInvoiceNo() → {object}

Source:

get common invoice no

Returns:

sql query

Type
object

(async, static) getItemsPending(data, proid) → {object}

Source:

cart quantity product

Parameters:
Name Type Description
data object

data

proid number

product id

Returns:

sql query

Type
object

(async, static) insertBidnowIngram(pay)

Source:

insert bid now ingram

Parameters:
Name Type Description
pay object

pay

(async, static) insertNewProject(id) → {object}

Source:

insert new project

Parameters:
Name Type Description
id number

id

Returns:

sql query

Type
object

(async, static) makeAwardBidLive(bid)

Source:

make award bid live

Parameters:
Name Type Description
bid number

bid value

(async, static) newingInsert(img, id) → {object}

Source:

new image insert

Parameters:
Name Type Description
img string

data

id number

id

Returns:

sql query

Type
object

(async, static) pdtimageupdate(img, id) → {object}

Source:

pdt image update

Parameters:
Name Type Description
img string

data

id number

id

Returns:

sql query

Type
object

(async, static) productDetailsCronjob() → {object}

Source:

product details cron job

Returns:

sql query

Type
object

(async, static) selectAwardBidCronjob(pid)

Source:

select award bid cron job

Parameters:
Name Type Description
pid number

project id