I would like to implement posting my paintings at 12 o'clock on weekdays using cron. I have implemented everything through brownie and just specify
- 12 1-5 * * brownie run /my full folder doesn't work, I get an error brownie: command not found
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
You cannot set up cron jobs in Brownie or Solidity. Actually, Ethereum as a whole does not natively support this kind of operation.
You have to use an automation protocol that runs on top of Ethereum. For instance, take a look at Gelato Network.
You can use the Chainlink Keeper Network to work with a decentralized cron-like application.
You could 100% use a solution like cron, but it would be a bit wonky. The error you're running into with cron is likely something unrelated to brownie or solidity.