Jump to content

Does not support special command?

Closed 1.0.0

Apex Rust

Hello, I just bought this plugin for a very specific purpose. Shutting my servers down the first Thursday of evey month at 8 pm. This is what it would look like as a normal cronjob.

0 20 * * 4 [ $(date +\%d) -le 7 ] && command

However from what I have tried, it does not work with this plugin. Is there a way to do this?

Edited by Purple

Share this comment


Link to comment

I am not having issues with the actual command that will be executed on the server. But the time it will be executed. Normal cronjobs on linux you can be more specific on timeframe like shown in my example, which you cant with this plugin. However its not a problem anymore as I found a solution using regular cronjobs.

Share this comment


Link to comment

Yeah I get what would mean but this part “[ $(date +\%d) -le 7 ] && command” it’s actually a bash evaluation and not directly a functionality from cron. The evaluation if it is the first Thursday of a month is something I can add to the plug-in as I’m not trying to be crontab compliant, it was just an inspiration.

Be posted, I should implement this and release a new version in the next couple of days.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

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.