Skip to content

Commit 4c2afd6

Browse files
changed yarn to npm in cronjob
1 parent 8611b7d commit 4c2afd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ db.sequelize.sync().then(() => {
3232
console.log(`Example app listening on port ${port}!!`);
3333
});
3434
cron.schedule('* */2 * * *', () => {
35-
exec('yarn products:update', (err) => {
35+
exec('npm run products:update', (err) => {
3636
if (err) {
3737
console.error(err);
3838
}

0 commit comments

Comments
 (0)