Job types
Jobs types available in system.
CleanRedisStore
CleanRedisStore wipes the specific redis stores. e.g. cache or session
{
"store": "cache" | "session"
}CleanStorageFiles
CleanStorageFiles wipes temporary storage files, e.g. downloads and uploads folders.
{}FeedbackSchemesSync
FeedbackSchemesSync synchronizes existing feedback schemes with default values.
TIP
This needs to be run if feedback scheme structure changes, e.g. new non-optional properties are added, so all database records are synced to use same structure.
{}LanguageTranslationsSync
LanguageTranslationsSync synchronizes database language translation records with built-in English translation.
Built-in translations update
This needs to be run if object structure changes, so all database records are synced to use same structure.
{}PurgeExpiredTokens
PurgeExpiredTokens cleans expired personal access and refresh tokens, that don't need to be hold in database store anymore.
{}Resource export
ResourceExport allows to export specific resource data as CSV-file.
{
"resource": string,
}Exportable resources
- As served sets
- As served set images
- Drinkware sets
- Drinkware set scales
- Drinkware set volumes
- Food groups
- Guide images
- Guide image objects
- Image maps
- Image map objects
- Languages
- Locales
- Nutrient types
- Standard units
SurveySchemesSync
SurveySchemesSync synchronizes existing survey schemes with default values.
TIP
This needs to be run if survey schemes structure changes, e.g. new non-optional properties are added, so all database records are synced to use same structure.
{}UserPasswordResetNotification
UserPasswordResetNotification is triggered when user requests password reset.
{
"email": string,
"userAgent"?: string
}UserEmailVerificationNotification
UserEmailVerificationNotification is triggered when new user signs up.
{
"email": string,
"userAgent"?: string
}