Jump to content


Recommended Posts


Dado o seguinte problema, "Indique como ficaria a crontab para permitir a execução de um processo -

comando.sh - sabendo que esse processo só poderá correr entre as 2:40 e

as 3:10 e com uma frequência de 2 minutos".

Consigo fazer isto recorrendo a um só comando?

Minha solução (uso de dois comandos):

40-58/2 2 * * * command.sh

0-8/2 3 * * * command.sh

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.