Linux executes js scripts regularly

I want to execute the node script at 6:30 every morning. Is that right?

6 30 * * * /bin/bash "node /mnt/app/dituwuyou_schedule/server/taskService/loadNormalData.js"

The

format should be like this

<>  <>  <>  <>  <>  <>

here node can be executed directly without bash , such as

30  6  *  *  *  /usr/bin/node xxx.js

it's the other way around. Minutes and hours

commands to be run by crontab time-sharing day, month and week

  • column 1 minutes 0: 59
  • column 2: 023 hours (0 means midnight)
  • column 3 1: 31
  • the fourth column of the month 1: 12
  • column 5: 0007 (0 and 7 for Sunday)
  • commands to run in column 6

crontab

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea5073-46a66.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea5073-46a66.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?